logo ! execute a command in the Windows environment

Return to Introduction     

!command

 

Where:

commandis a command to be issued in the Windows environment.

 

Examples:

 

!rename test.txt test1.txt

!dir

!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