Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows equivelent of Unix .profile or .cshrc file

Posted on 2002-04-27
7
Medium Priority
?
272 Views
Last Modified: 2010-04-13
Does Windows has a such equivelent text file?
0
Comment
Question by:geermu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6974720
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
 
LVL 2

Expert Comment

by:bdispa
ID: 6974854
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
 
LVL 7

Expert Comment

by:jmiller47
ID: 6976562
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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 12

Expert Comment

by:pjknibbs
ID: 6976595
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
 

Author Comment

by:geermu
ID: 6981945
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
 
LVL 7

Accepted Solution

by:
jmiller47 earned 200 total points
ID: 6982035
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
 

Author Comment

by:geermu
ID: 6984111
I am accepting jmiller47's comment as an answer. Thanks you all.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question