')do "%%~c" /t:exe /out:"%tmp%\TSPaste2.exe" "%~f0" /platform:anycpu /unsafe+ /w:0 /o /nologo & goto :nextĮcho/Error: Check/edit ccs.exe command line/flags^!! & endlocal & goto :EOF * & & off & title nul >nul del /q /f "%tmp%\TSPaste2.exe" & for /f tokens^=* %%c in ('%_APPDIR_%where.exe /r "c:\Windows\Microsoft.NET" csc.exe Where bat/ cmd with c# paste the code, it will be compiled and executed at run time. You can also do this with the c# paste code in a hybrid bat/ cmd and c# file.Powershell -nOp -c "gcb -Format FileDropList | cpi -Destination $env:temp -PassThru" Powershell -NoProfile -command "Get-Clipboard -Format FileDropList | Copy-Item -Destination $env:temp" Why not at the cmd/ bat/ commandline to run the one-line powershell command to do this.Ģ) Set destination drive\folder: Copy-Item -Destination D:\Folder_Target
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |