1.

Solve : Question about "change directory?

Answer» HI there,

I just want to ask a why question. I KNOW how the stuf works but I can't explain, so perhaps somebody can help me.

If I want to run this

Code: [SELECT] del c:/documents and settings/my username/test/*.*
I get the error (I can't translate it, but I don't the the kind of error mathers)

Quote
Ongeldige schakeloptie - documents.

But if I use

Code: [Select]cd c:/documents and settings/my username/test/

del *.*

It does work, how is this possibleSimply because CD can cope with spaces in a name, where DEL cannot; if you type

del "c:/documents and settings/my username/test/*.*"

it WOULD work

Graham


Discussion

No Comment Found