Discussion Locked
0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have to create a login script for various clients logging into an NT 4.0 domain. I have to map drives and copy a file to the client's drive to a specific folder, depending on the OS of the client. I am able to map the drive, but cannot get the file to copy to the client. I can't seem to get the syntax right somehow. Can anyone help me with this?
5 replies
by a.grogan
Hi - Firstly what language are you using for the script (for example NTLM batch, Kix, VBScript) - could you provide a sample of the script? - also what are the Target client O/S's as I have a script that will do exactly what you want - but it written in VBScript.
by zepolie
Poster rated this answer
by iphicles
In the simplest form, it'll look something like this.
net use f: \\servername\sharename
net use g: \\servername\sharename
copy f:\folder\filename.abc c:\folder\
what other OS's are you using? if it's novell, use "ncopy" instead of copy. also, make sure of the following.
1. can you map the drive and copy the file while in the OS? (not at startup)
2. are the correct protocols installed?
3. are the sharenames correct?
4. correct permissions on NTFS?
by zepolie
Poster rated this answer
by zepolie
This question was closed by the author
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
0 helpful
10 replies
Question Locked
Do You Save Useful Windows Tutorial Videos for Later
0 helpful
7 replies
0 helpful
1 reply
Question Unanswered
Is WSL still relevant in 2026?
0 helpful
0 replies
0 helpful
2 replies