Computing.Net > Forums > Disk Operating System > Need to copy files - logon script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Need to copy files - logon script

Reply to Message Icon

Name: Samyeli
Date: April 30, 2003 at 04:27:50 Pacific
OS: WIN2000
CPU/Ram: 1.5/512
Comment:

I need to copy a file stored on a server whenever I log on to the network.

Therefore I need a batch telling my laptop to check whether it's logged on to the network. If yes get the file from server and copy it to local hd. If not - don't try to copy.

Can somebody help me?



Sponsored Link
Ads by Google

Response Number 1
Name: Johns
Date: April 30, 2003 at 12:46:05 Pacific
Reply:

If exist X:\????.??? goto copy
exit

:copy
copy x:\????.??? c:\????\????.???
exit

(Where x= your mapped drive or path to the file.)


0
Reply to Message Icon

Related Posts

See More


Script: directory with da... Results from a secon batc...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Need to copy files - logon script

Copy files to a drive name www.computing.net/answers/dos/copy-files-to-a-drive-name/15821.html

I need to copy c:\ to another HD... www.computing.net/answers/dos/i-need-to-copy-c-to-another-hd/4696.html

Need To Recover Files in Dos www.computing.net/answers/dos/need-to-recover-files-in-dos/14087.html