Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

batch files


  • Please log in to reply
5 replies to this topic

#1 stang90

stang90

  • Members
  • 81 posts
  • OFFLINE
  •  
  • Local time:12:45 PM

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?

BC AdBot (Login to Remove)

 


m

#2 Budapest

Budapest

    Bleepin' Cynic


  • Moderator
  • 23,571 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:45 AM

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 stang90

stang90
  • Topic Starter

  • Members
  • 81 posts
  • OFFLINE
  •  
  • Local time:12:45 PM

Posted 07 October 2008 - 04:41 PM

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

#4 TVT

TVT

  • Members
  • 140 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Wisconsin
  • Local time:11:45 AM

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 stang90

stang90
  • Topic Starter

  • Members
  • 81 posts
  • OFFLINE
  •  
  • Local time:12:45 PM

Posted 10 October 2008 - 08:55 PM

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

#6 syler

syler

  • Malware Response Team
  • 8,150 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Warrington, UK
  • Local time:05:45 PM

Posted 10 October 2008 - 09:35 PM

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"

unite.jpg





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users