Forum Home
Press F1
 
Thread ID: 20388 2002-06-04 06:42:00 PC World's FixMenu Guest (0) Press F1
Post ID Timestamp Content User
52380 2002-06-04 06:42:00 I followed instructions on pg 100 of April PC World to set up MoreDocs in my Start Menu . Below is the batch file I created. I've got it wrong but I can't see where. For line 1, I get the message 'invalid parameters'. For the second line I get 'invalid switch'
Can a Dos person see my mistake...
xcopyc:\windows\recent\*.*c:\windows\Start Menu\More Docs/d/y
del c:\windows\startm~1\moredo~1\*.*/days:3../d-
Guest (0)
52381 2002-06-04 08:30:00 Julia,

Firstly, I'm not sure whether this is just a formatting error from this webpage, but check that you've got spaces in the right place, eg 'xcopyc:\windows...' should be: 'xcopy c:\windows...'

Secondly, I think your problem lies in the long folder names like 'Start Menu'. DOS doesn't recognise long folder names like Windows does, and so you need to use the old 8.3 DOS filename format. In other words, a long file name like 'Start Menu' should be shortened in your batch file to be 'startm~1', and 'More Docs' should be 'moredo~1'.

That should leave you with a batch file that reads something like this:

-------

xcopy c:\windows\recent\*.* c:\windows\startm~1\moredo~1 /d/y

del c:\windows\startm~1\moredo~1\*.* /days:3../d-

-------

Now hopefully that will do it for you.

Mike.
Guest (0)
52382 2002-06-08 06:48:00 Thanks very much for trying to help me, Mike, but I'm out of my depth here. I tried your suggestion but the error message just changed to a new problem. Without more knowledge I'll just go around in circles so I've given up. Thanks again...
Julia
Guest (0)
1