Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Cmd Prompt Tip, had a hard time finding this
sjc
post Oct 20 2004, 10:08 PM
Post #1


Member [Level 1]
****

Group: Members
Posts: 57
Joined: 15-August 04
Member No.: 814



if you want to delete a file using the command prompt, and the file name has spaces in it, use the following syntax:

del "file name.txt"

just put the name in ""'s and you're good to go.

not sure if nayone needs this, but i did and it was hard to find

this is for winxp
Go to the top of the page
 
+Quote Post
2091
post Oct 21 2004, 10:51 AM
Post #2


Member [Level 3]
******

Group: Members
Posts: 90
Joined: 8-October 04
From: vienna
Member No.: 1,509



hi there smile.gif

this syntax is since dos, but, u can use the wildcard such as

del file*.txt

or u write a batch with the command

echo. y|del "%1"

name this file del1.bat or so, so u cant make a mistake, or let the echo. y|command go happy.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Recover Data On A Failed Hard Drive(3)
  2. Windows Xp Sp2 Restarting After Some Time(6)
  3. Living Without Computer Today - Is It Possible?,(36)
  4. Video Games Are A Complete Waste Of Time, Face It!(151)
  5. Google Going Back In Time(5)
  6. Worst Game Of All Time(64)
  7. Helpful Registry Edit For Java Programmers(3)
  8. Debate With The Religions : Christian Vs Islam Vs More(17)
  9. Help For My Seagate Sata Hard Drive!(9)
  10. That Its Hard To Make It Team(1)
  11. Time Travel - An Impossibility?(14)
  12. Another Cust. Service Rant... This Time As A Customer(6)
  13. Finding The Rgb Color Of An Image(3)
  14. Spare Time?(5)
  15. The Time Traveller's Wife(0)
  1. Creating A Shortcut List Near The System Tray(4)
  2. Budding Java Game Developers?(10)
  3. F19 Stealth Fighter(8)
  4. How To Detect And Remove Mp3 Duplicates(14)
  5. Why Is The Shoutbox Time Wrong?(10)
  6. Time Keeps Slipping By(0)
  7. Firefox 3 Sucks - Time For Another Browser(66)
  8. Dead Hard Disk(6)
  9. Achieve Planner(0)
  10. Does Anyone Know Of Any Free Encoding Programs?(11)
  11. Microsoft Video Game Banned For Sex Scene(17)
  12. Is Your Money Workign Hard ?(0)
  13. How Do I Make My Own Private Online Server Please Help Me Out.thank You For Your Time.(26)
  14. Lap Top Hard Drive(3)
  15. Run Internet Explorer From Command Prompt(25)


 



- Lo-Fi Version Time is now: 11th October 2008 - 08:15 AM