BleepingComputer.com: batch files

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

batch files

#1 User is offline   stang90 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 26-September 08

Posted 06 October 2008 - 06:05 PM

well is see that the title of this forum section has dos in it so i guess il try asking here.

theres some stuff in program files that i need to constantly delete, so i deside to make a simple batch file to do it for me when ever i run the computer. it works if i do a test file in the C drive "C:\test.txt"
but when every i try to go through the program files folder it dosnt work. i personly think its cause it has a space in the name, is there anything i can do?

#2 User is offline   Budapest 

  • Bleepin' Cynic
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 22,234
  • Joined: 11-November 06
  • Gender:Male

Posted 06 October 2008 - 06:14 PM

Have you tried renaming the file with a .bat extension rather than .txt.
The power of accurate observation is commonly called cynicism by those who haven't got it.

—George Bernard Shaw

#3 User is offline   stang90 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 26-September 08

Posted 07 October 2008 - 04:41 PM

yes i named it as a .bat, its just when i run it nothing happens

#4 User is offline   TVT 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 140
  • Joined: 17-September 07
  • Gender:Male
  • Location:Wisconsin

Posted 08 October 2008 - 09:57 PM

If you dont mind, could you post the code you used? Or at least the parts relevant to your problem? It'll, at least for me, make it easier to figure out where the problem lies and how to fix it
Posted Image

#5 User is offline   stang90 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 52
  • Joined: 26-September 08

Posted 10 October 2008 - 08:55 PM

del C:\Program Files\Orbitdownloader\orbitcth.dll

#6 User is offline   syler 

  • Forum Addict
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Malware Response Team
  • Posts: 8,150
  • Joined: 07-November 07
  • Gender:Male
  • Location:Warrington, UK

Posted 10 October 2008 - 09:35 PM

Quote

i personly think its cause it has a space in the name, is there anything i can do?


Try This

del "C:\Program Files\Orbitdownloader\orbitcth.dll"
Posted Image
If I have helped you, and you would like to make a donation to me, click here

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users