Help Wanted
Modeller @ [V.Spirit] (See All)
Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
Using Environment Variables for important folders
Difficulty: Beginner
Category: CS:S > InstallationAuthor(s): xz64

Creating an enviroment variable will ease the process of extracting skins, maps, and things like that.


  • Find out where your cstrike folder is.

  • The default directory for your cstrike folder is this: C:\Program Files\Valve\Steam\SteamApps\username\counter-strike source\cstrike\

  • the username field may be replaced with your steam login name.

  • Once you find your cstrike folder copy it (control+C) to your clipboard.

  • Go to Start>Control Panel>System

  • Click the "Advanced" tab.

  • Click "Environment Variables"

  • Looking at the top half of the new window, click "New".

  • Give the variable name cstrike

  • Paste (control+V) the directory name as the environment VALUE and click OK.

  • Keep clicking OK until you are out of the System window.



You may be wondering what this actually does, and here is a test for you to find out:

  • Press Start>Run

  • Type in %cstrike%

  • You should now see your cstrike folder for counter-strike source



When are you ever going to use this?

  • If you downloaded a skin and it came with materials, models, scripts, and sound, or just maps folders (AS THE FIRST SET OF FOLDERS), check this out:

  • Open up notepad and paste this:

    cd %cstrike%
    "C:\Progra~1\Winrar\unrar.exe" x -o+ %1 materials\* models\* scripts\* sound\* "%cstrike%"
    pause

    (Assuming you installed winrar there)

  • Save it as "extract to cstrike.bat" or whatever you want (just make sure it is .bat.)

  • Drag and drop the rar file into the bat file and it will extract the skin/map/gui for you.

  • This won't work for all skins since some smart people will try to be unique or something and pack their release without seeing materials, models, scripts, and weapons first.

  • Watch out, readme files and screenshots may get extracted too! Maybe it's better to stick to my Installing CSS Skins tutorial.
  • You can use this for uninstalling css skins too!

Added: 1 year agoTags: environment, shortcut, variable, shorten, directory
Using Environment Variables for important folders
Added by...
Images

Submitter Identity
Tutorial Stats
Statistics on tutorial submissions by xz64 .
Submissions: 3
    Independent: 3
    Studio: 0
    Redistributions: 3
Total Views: 1,309,491
Total Feedback: 273 posts
Average Rating: 9.3/10
Unrated Tutorials: 2
Total Favs: 252
First Submission: 3 years ago
Latest Submission: 12 months ago
Favorite Category: CS:S > Installation (3 releases)
More tuts submitted by xz64 .
Uninstalling CSS Skins
Beginner (CS:S > Installation)
Installing CSS Skins
Beginner (CS:S > Installation)
Statistics
This tut's scores and traffic.
Rating: ?/10
Skill Band: Undefined (0)
Assessments: 0
Views: 3,487
Favorites: 1
Feedback: 0
New Tutorials: Installation
More tuts in this category.
How to : install skins.
Difficulty: Beginner
A complete guide to installing custom CS:S content
Difficulty: Beginner
Installing a Gungame
Difficulty: Advanced
Share It!
Get HTML Code
Get BBCode
Tell a Friend
Assessment
The community's verdict.
No assessments made... please vote!
Stamps
This tutorial in a nutshell...
No stamps recorded
Assess Tutorial
Tutorials are community moderated.
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamp Tutorial
How would you describe this tutorial in a few words?
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Messages
Provide constructive feedback. What is "constructive"?
None Found
Add Message
You must login or register to access this!