logo ! execute a command in the Windows environment

Return to Introduction     




commandis a command to be issued in the Windows environment.




!rename test.txt test1.txt


!copy "read me.txt" readme.txt


Sample Script:


* Sample script using  the "!" command.

* copy c:\monitor.log to c:\monitor.txt and upload it to the remote host.

* Set the local folder.

lcd        c:\

* Copy c:\monitor.log to c:\monitor.txt.

!copy monitor.log monitor.txt

* Upload monitor.txt.

put monitor.txt