From a button, is it possible to start a PowerShell instead of a MS-DOS Batch function?
e.g. something like
@leavedoswindowopen
@confirm:Really run batch file?
@set SourcePath=X:\xxx
@set DestPath=L:\xxx
copy ...
Thanks
From a button, is it possible to start a PowerShell instead of a MS-DOS Batch function?
e.g. something like
@leavedoswindowopen
@confirm:Really run batch file?
@set SourcePath=X:\xxx
@set DestPath=L:\xxx
copy ...
Thanks
The script would need to be in a separate file, and passed any arguments you need it to have via the command line.
This thread shows how to run it: