Jump to content

Does anyone know any good batch file tutorials?


Recommended Posts

Posted

See... I'm only 12 and i want to get into batch... In the first 5mins of seeing how to make a batch file i made a batch file which would start my photoshop cs2 and firefox instead of me going through countless folders searching for them...

So i'm just asking does anyone know anywhere with some good batch file tutorials... no downloading just notepad and batch... anyone?

Posted

Like... Stuff like this:

Echo Off

title Blah Blah Blah

echo.

echo Starting Something

start something

start something

pause

exit

-----------------------------------------------------------------------------------------

But more complicated...

Posted

As a fan of just using the basic documentation my tip is to start up cmd and then type 'help' which will list all the built in commands and give information on specific commands. The ones that you might want to look at to begin with when doing something a bit more complicated is probably 'call', 'goto', 'if' and 'for' which allow for branching and looping.

Posted

HTML to PHP is a fairly big jump... I suppose that JavaScript is sort of the middle ground. But then any one who knows the meaning of "browser security" will have JavaScript disabled at least initialy when they visit a site.

Posted

Basic PHP and HTML go hand in hand, if you can do html, php will come easily. I was working on a website that started as html, but as the project grew I moved towards implimenting php code to aid scalability. Javascript was a bit more complex imo, but hey, each to there own.

Posted
photoshop cs2 and firefox instead of me going through countless folders searching for them..

Shortcuts...

seems your making more work for you self for a simple task...

Posted

Huh do you get me?

I made a batch file on my desktop which starts photoshop cs2 and firefox without me going through my documenst and blah blah blah...

Echo Off

Title Photofox ( I made up this name =] )

Echo.

Echo Starting Photoshop Cs2

start photoshop.exe

Echo.

Echo Starting Firefox

start firefox.exe

pause

exit

How is that making more work for me now all i do is click a batch file and they come up for me... more work for me... *cough* 1 minute batch code...

Posted

Becasue you might just want firefox or photoshop by it's self, so now you have to wait for both of them to load so you can close the other.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...