`

Utility bat scripts

阅读更多

1. To launch a application in command-line without open a cmd window:

>start putty -load Ubuntu -l root -pw ***

 

 

2. copy /Y file1 directory2 ------ override without warning

    xcopy /E/Q sonatype-work L:\sonatype-work  ------ copy directory and its subdirectories without display file(s) path

 

3. access remote computer's file system

\\10.199.130.142\d$

prompt for usename and password(domain is mandatory, e.g.: apj142\administrator/****

 

4. net start <service-name>  --- to start a windows service in command line.

e.g.:net start OracleXETNSListener

       net start OracleServiceXE

 

5. route add 202.168.177.1 mask 255.255.255.0 202.168.177.101

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics