Solved

"ntbackup" of dir w/ space in name ("program files")

Posted on 1998-10-20
9
176 Views
Last Modified: 2013-12-28
Tell me how I can use the commandline ntbackup to back up just the "program files" directory.  Figuratively, I want to:

ntbackup backup "d:\program files"          /v /d "janelle d:\program files"      /hc:on /t Normal      /l d:\user

Without the quotes around "d:\program files" it tells me I have an invalid parameter (no doubt "files").

With the quotes, it works but backs up "C:" instead of "d:\program files"!

I have tried d:\"program files", but that tells me I have a bad command line parameter too.
0
Comment
Question by:rclark022197
9 Comments
 
LVL 2

Expert Comment

by:gikam
Comment Utility
check the order of parameters
0
 
LVL 1

Expert Comment

by:jminck
Comment Utility
try c:\progra~1
0
 
LVL 5

Expert Comment

by:j_powers
Comment Utility
According to the following keys:

ntbackup operation path [/a][/v][/r][/d "text"][/b
][/hc:{on | off}] [/t {option}][/l "filename"][/e][/tape
:{n}]

You should be able to type

ntbackup backup d:\program files /v /d "janelle d:\program files" /hc:on /t Normal /l "d:\user"

And it will back up the program files. The difference between the two is the quotes in the d:\program files on the path area. Just copy and paste this in your run line.

Good Luck and let me know how this goes.
0
 

Author Comment

by:rclark022197
Comment Utility
I had already tried that.  Per my original note,

    Without the quotes around "d:\program files" it tells me I have an invalid parameter (no doubt "files").
--------------------
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 2

Expert Comment

by:gikam
Comment Utility
rclark,
most probably u are running the command from under a DOS program, such as Norton Commander !
0
 

Author Comment

by:rclark022197
Comment Utility
To Gikam, I am running it under NT's "Command prompt", from which you can type
cd program files
and have it work!
0
 

Author Comment

by:rclark022197
Comment Utility
I would prefer an 'answer' which allowed me to use the long name (program files), but in all fairness jminck solved the problem - his suggestion to use the short name worked.  I assume that the long name would be lost on restoration, but changing one path name is a very small price to pay to have it work!

jminck, if you would submit your suggestion as an 'answer', I will award you the 100 points.  Thanx!
0
 
LVL 7

Accepted Solution

by:
BlackMan earned 100 total points
Comment Utility
Your problem is fixed is SP4. The problem is documented in Microsoft KB, http://support.microsoft.com/support/kb/articles/q187/5/19.asp?FR=0
0
 

Author Comment

by:rclark022197
Comment Utility
Thanx!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now