|
Answer» This is my problem:
I need a batch file to delete a *.pif file created by a game every time i run it... (Im running Win XP Professional edition) So i put it like this in the batch im trying to CREATE: del C:\Programs\bla bla\bla\blabla\blablabla\*.pif /P pause (that's not really the path ) And it gives me a "path not found" in the prompt I've tried all sorts of variations i've even tried without using wild cards, with other files elsewhere on my c: drive, setting the file attribute and all but... helas... no GO What am i doing wrong here? If you could plz give you insight on this sorry bout that nasty typo: not lies files What if you used explore or search to find the exact location of the file then copy/paste that location in your batch eliminating any typos etc?i've had issues with batch files and long file names. for example:
c:\documents and settings\user files\favs
would be
c:\docume~1\userfil~1\favs
in your batch file.
You best bet is to TYPE:
command
from the run line (you cannot use the cmd shortform as this shell allows long file names) and trace your path from the command promptuse "path"Quote This is my problem:
I need a batch file to delete a *.pif file created by a game every time i run it... (Im running Win XP Professional edition) So i put it like this in the batch im trying to create: del C:\Programs\bla bla\bla\blabla\blablabla\*.pif /P pause (that's not really the path ) And it gives me a "path not found" in the prompt I've tried all sorts of variations i've even tried without using wild cards, with other files elsewhere on my c: drive, setting the file attribute and all but... helas... no go What am i doing wrong here? If you could plz give you insight on this @noka: ?put the path in quotes.
del "c:\program files\microsoft office\*.pif" pauseBrainiacOutcast, we UNDERSTAND that everybody needs to get their post count up, but reviving 3-year-old threads is a bit obvious! Or don't you bother reading the DATES?
|