Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: More batch lies  (Read 8465 times)

0 Members and 1 Guest are viewing this topic.

Al3xandr3

  • Guest
More batch lies
« on: March 30, 2004, 04:49:23 AM »
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 :P)
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  ???

Al3xandr3

  • Guest
Re: More batch FILES
« Reply #1 on: March 30, 2004, 04:53:12 AM »
sorry bout that :P
nasty typo: not lies  ;D files  ;)

Joleen

  • Guest
Re: More batch lies
« Reply #2 on: April 05, 2004, 07:27:40 AM »
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?

misscreation

  • Guest
Re: More batch lies
« Reply #3 on: May 14, 2004, 10:19:23 AM »
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 prompt

tery__

  • Guest
Re: More batch lies
« Reply #4 on: June 18, 2004, 07:10:08 AM »
use "path"

noka

  • Guest
Re: More batch lies
« Reply #5 on: June 18, 2004, 10:11:16 AM »
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 :P)
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  ???


Addy

  • Guest
Re: More batch lies
« Reply #6 on: August 04, 2004, 11:08:19 AM »
@noka: ?

mims1979

  • Guest
Re: More batch lies
« Reply #7 on: September 14, 2004, 02:18:34 PM »
put the path in quotes.

del "c:\program files\microsoft office\*.pif"
pause

contrex

  • Guest
Re: More batch lies
« Reply #8 on: July 03, 2007, 01:56:48 PM »
BrainiacOutcast, 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?