The Geek Forum

  • April 27, 2024, 03:35:17 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Due to the prolific nature of these forums, poster aggression is advised.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - newguy45

Pages: [1]
1
Entertainment / clean mind, clean body, clean hard dirve
« on: January 05, 2007, 02:59:35 PM »
yes those are a few things I believe in and I also know what I'm posting shouldn't be in this section but I did not seem to have rights to the appropriate "Hardware, Software, and Other Imperialist Crap" category yet.

I'm just posting this as a recommendation for computer organization and proficiency.

this topic is aimed for people like me who have piles upon files of batch files.



when you find your self making the same .bat files over and over again (because you can't seem to remember were you last had the file) to do a simple task such as compiling you have another simpler option, to make a perminate batch file in a search path directory.

I myself use c:\bats which of course i made my self. Its good for two resons:

1.) it's  proficient

2.) its easy to cd to.

if your planning on making your own bats directory its done like this:

1.) open a command prompt

2.) type: c:

3.) hit enter.

4.) type cd \                                                 make sure you use \ and not /

5.) hit enter.

6.) type mkdir bats

7.) hit enter

now the directory is made. All that is left to do is to make the search path use it.

1.) click start.

2.) right click my computer

3.) click properties

4.) click the advanced tab

5.) click environment variables

6.) scroll down to path

7.) double click path.

8.) add your directory name to the path fallowed by a ;    example   c:\bats;    my whole search path is   C:\Program Files\Apache Software Foundation\Apache2.2\php\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\bats;C:\Program Files\ATI Technologies\ATI Control Panel

9.) hit the oks


now your all set. Move all your bat files in it and they will all become cmd commands. so if you have a ie.bat all you would have to do to run it would be to type ie. in eather run or a cmd.


2
New Geeks on the Block / Hi!
« on: January 05, 2007, 01:25:01 PM »
i go by the handle newguy45, im a talented java programmer and im currently at ecip in the IT program, im here to learn and to work on my home http server.

Pages: [1]