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

Author Topic: Simple batch file  (Read 2081 times)

0 Members and 1 Guest are viewing this topic.

Ken820

  • Guest
Simple batch file
« on: February 02, 2007, 12:15:16 AM »
I am a real newbie to all this so forgive me if my question is very basic.
I have a folder named "Fun & Games".  How do I write this so that it will be recognized by DOS.  I tried "fun&ga~1' but it doesn't work.  Also what is the switch I must use so the my command will execute automatically (without having to indicate Yes or No?) :)

fffreak



    Adviser

  • That's right I am a final fantasy freak.
  • Thanked: 3
    • Yes
    • JSPCRepair
  • Certifications: List
  • Experience: Guru
  • OS: Windows 7
Re: Simple batch file
« Reply #1 on: February 02, 2007, 06:56:09 AM »
What is your OS?

Windows XP-command.com
Code: [Select]
cd Fun&Ga~1
Windows XP-cmd.exe
Code: [Select]
cd Fun & Games
 8-)fffreak
« Last Edit: February 02, 2007, 07:02:07 AM by fffreak »
Computers are the future, not us. Learn everything you can about them while you still can, soon they will be learning about us... Every bit of advice that I give you is best guess, it is your choice whether or not you listen to it.

lazygarfieldon

  • Guest
Re: Simple batch file
« Reply #2 on: February 02, 2007, 03:43:24 PM »
If you type

dir /x

then you will get the listing of the folder alongwith their respective DOS names.
MSDOS version 6 lets you type in their actual name with spaces as well, so you can do it either ways.