Windows equivelent of Unix .profile or .cshrc file

Does Windows has a such equivelent text file?
geermuAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jmiller47Connect With a Mentor Commented:
You can create an Autoexec.bat and edit that if one deas not already exist.

You can also have this managed easier by computer or user by using Active Directory Logon Scripts.
0
 
jhanceCommented:
To do what?  There are a great many things that might be put in the .profile or .cshrc.  Yes, Windows has capabilities of running apps or setting parameters at logon but there is no equivalent file.
0
 
bdispaCommented:
Yes and no...

Yes: if you use a domain controller, you can define user-login-scripts to do some commands for you when you log in.

No: if you don't use a domain controller, there is nothing like such file. However: you can make one. Just put a DOS batch script into your user-startup-folder (in you Start-menu). Just call it login.cmd or something... (.cmd = the new extention for batch scripts; it used to be .bat)

Hope this helped you out...

B.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
jmiller47Commented:
Some of the info I have seen in these files can be done by editing autoexec.bat.. or the logon scripts. As stated above, it would help to find out what things you to change.

0
 
pjknibbsCommented:
If you're asking where per-user settings for applications are stored, it's in the Registry in the HKEY_CURRENT_USER hive. Although this appears to be a seamless part of the Registry when viewed using Registry Editor, the actual data for this key is stored in a file called USER.DAT in the user's profile in Documents and Settings. However, it is NOT a text file and should not be edited directly--use Registry Editor if you need to change it.
0
 
geermuAuthor Commented:
I am using vi editor on Windows. If there "exists" an equivelent ".profile" file, that will becomes
handy to quickly edit and define environment variables. Thank you all.

0
 
geermuAuthor Commented:
I am accepting jmiller47's comment as an answer. Thanks you all.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.