Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS Copy command into NT4 name space 1

Status
Not open for further replies.

Bill1942

IS-IT--Management
Apr 1, 2002
3
US
I am trying to move a file from a Novell 4.11 server onto an NT4 box using the system login script. As long as the destination path does not contain a space there is no problem, however I'm trying to move the file to C:\WINNT\Profiles\All Users\Start Menu\Programs. The spaces in this path name do not work with the copy command. I'm trying to deploy a program without having to visit all my branch offices and I don't have ZEN works. Any suggestions would be appreciated.

Bill1942
 
Create a Batch file that you call from the Login Script. Within this batch file, rather than copying the file to its new location...
example...

copy sys:\public\file.xxx c:\winnt\profiles\all users\start menu\programs

... have the batch file take you to the location, then copy the file....
example...

c:
cd\winnt\profiles\all users\start menu\programs
copy sys:\public\file.xxx c:

Hope this helps!!!

Good Luck!
 
Or put the directory path in "QUOTES"

eg.

copy sys:\public\file.xxx "c:\winnt\profiles\all users\start menu\programs" -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
My thanks to salserocito and TheLad for their suggestions. Since I already had the batch file in place I just added the quotes and it worked. Again thanks to both of you for you assistance.
Bill1942 :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top