Friday, February 13, 2009

Script stuff!!

Pay no mind, this is work related.

Connect:
net use N: \\server\c password /user:username /yes

Old Backup
ntbackup backup "@c:\(company)\Tech\Daily.bks" /j "Backup1" /f "Y:\Backup1.bkf"

Robocopy:
robocopy c:\ Y:\Backup1 /mir /xd "c:\windows" "c:\documents and settings" /xf "*.tmp" /xa:sh /copy:datso /r:0 /w:0 /zb /np /tee /log:c:\(company)\tech\Backup1.txt

Pworks Addend:

Net stop "Pervasive.SQL 2000 (relational)"

Net stop "Pervasive.SQL 2000 (transactional)"
Robocopy
Net start "Pervasive.SQL 2000 (relational)"

Net start "Pervasive.SQL 2000 (transactional)"

Softdent Addend:

c:\server\termapp.exe -auto
(Robocopy)

Softdent CS Addend:

c:\server\termapp.exe -auto

c:\server\ctstop.exe -auto

robocopy

C:\Server\CTSRVR.EXE

Schick Addend:

Net stop "CDR Dicom Server"

robocopy

Net start "CDR Dicom Server"

1 comment:

Matthew said...

is it sad that i use most of those commands daily at home, and sometimes from a MSDOS 6.22 box?