Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Dos (batch File) Programing
Closed Thread
Old 05-10-2008, 09:21 PM   #11 (permalink)
Jorsoft's Avatar
 
Wizard Techie

Join Date: Feb 2004

Location: Minneapolis, MN

Posts: 4,542

Jorsoft will become famous soon enoughJorsoft will become famous soon enough

Default Re: Dos (batch File) Programing

This stuff takes me back. I used to write these years ago when I was like 12. It's just really simple scripting, not hard at all. You can find good examples to follow if you check out a few old dos-based games. Many of them used batch files as a front end for the program or the installer.
__________________
Jorsoft is offline  
Old 05-11-2008, 02:45 AM   #12 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

i tied the help command on the dos screen but i think that it hasnt mentioned all the commands is it true...?
cuz commands like "then" & "else" were not on the help list....

r there commands which r not listed in help option but still exist.....?
mattew is offline  
Old 05-11-2008, 11:45 AM   #13 (permalink)
 
Super Techie

Join Date: Aug 2007

Posts: 451

techpro5238 is on a distinguished road

Default Re: Dos (batch File) Programing

They only exist in DOS Scripting. You can't use them in a normal DOS Session .

Yes, the commands still have help options
techpro5238 is offline  
Old 05-11-2008, 02:08 PM   #14 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

dude how am i supposed to lear if haalf the stuff is hidden at abyss of their programs....
this stuff is freaking:freak: me out ne other scripting tutorial which will help me out ....
days r running out..

plzz dude help me ......:rolleyes:
mattew is offline  
Old 05-11-2008, 03:55 PM   #15 (permalink)
 
Super Techie

Join Date: Aug 2007

Posts: 451

techpro5238 is on a distinguished road

Default Re: Dos (batch File) Programing

Batch Tutorial

Just try that..
techpro5238 is offline  
Old 05-12-2008, 06:57 AM   #16 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Talking Re: Dos (batch File) Programing

this was the one i was looking for ....
thnx dude u have saved my life.... one thing just came into my notice if i program ne thing wrong in the DOS it will defenitly affect the system is there ne stimulator program for that which be xactly like it but wont hinder the actual system files
mattew is offline  
Old 05-12-2008, 08:08 AM   #17 (permalink)
StealthTools's Avatar
 
Hardware/VB.net/Anti-vir

Join Date: Mar 2008

Location: TN - Intel, Samsung, and NVIDIA 4 EvR!

Posts: 515

StealthTools is on a distinguished road

Send a message via MSN to StealthTools
Default Re: Dos (batch File) Programing

I used to make these as well back when I was about 15 or so... I made visual basic programs that ran batch files because I didn't know / didn't want to learn to code visual basic, lol... But now I learned how to code visual basic.. and it's fun =P

What exactly are you making?

And about that simulator... umm, lol.. I doubt you would program the wrong thing without knowing it... but do you have another computer to program on? I program on my laptop =P but I think you will be fine if you don't worry about it... you can't screw up that bad.

Last edited by StealthTools; 05-12-2008 at 08:11 AM.
StealthTools is offline  
Old 05-12-2008, 01:20 PM   #18 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

well i do have a desktop & a laptop but my laptop is totally ruin with Trojans and spy wares & the worst part is that i have lost the driver cd. cant reformat...!
well i asked for the simulator kind of thing not cuz of wrong programing but i want to experiment few things of my own & i am quite sure that those codes will harm the system.. and cause alterations which will be difficult to repair.
mattew is offline  
Old 05-12-2008, 04:16 PM   #19 (permalink)
Saxon's Avatar
 

Join Date: Feb 2007

Posts: 6,378

Saxon is just really niceSaxon is just really niceSaxon is just really niceSaxon is just really nice

Default Re: Dos (batch File) Programing

Can you make a .bat file run things like chkdsk an other windows commands?
__________________
I am not here for long I am deploying soon so please don't expect anything long winded.

www.moanmyip.com

^Check that out^
Saxon is offline  
Old 05-12-2008, 04:57 PM   #20 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

well those are very basic commands ....
well one thing
when i wanted to chang my directory path from c:/> to
c:\windows\temp
i just wrote in the batch file
cd windows
cd temp


when i excecuted it it navigated to windows but failed to navigate to temp folder i didnt get why is that so.....?
mattew is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Corrupted/Infected Files. xXxexpertxXx Virus - Spyware Protection / Detection 11 03-12-2008 01:18 AM
Help with a Dos batch file Jakes55 Programming Discussions 2 03-02-2008 09:04 PM
WTF is a Bad Block? MikesCreation Hardware Troubleshooting 18 02-24-2008 09:31 PM
seagate 80gigs failing.. acuariano Hardware Troubleshooting 27 08-27-2007 10:43 PM
Another Hijack Log boo HijackThis Logs (finished) 17 06-26-2007 12:30 PM