Over 1 million tech questions and answers.

Environment Variables questions and format questions

Q: Environment Variables questions and format questions

I have a
HP Pavilion dv7t-1000 CTO Entertainment Notebook PC
64bit with Windows Vista Home premium
Recently I had a friend take it and wipe it to start fresh.
when I got it back it is still pointing to a bizarre path..?? (which is one of the reasons I wanted to start fresh. It points to:

PATH
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\CyberLink\Power2Go;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

why would this be the case? When I got it back I see that some things like my extra monitor was already installed.. (Before I even hooked it up??) and some folders I had renamed example folder.OLD was still here. (and many other things that lead me to believe it did not get formatted correctly. (and could still have virus?)
He used my factory disks. (which I do have)
can anyone advise me on what is going on?
thanks so much!!

RELEVANCY SCORE 200
Preferred Solution: Environment Variables questions and format questions

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Environment Variables questions and format questions

I've had a bunch of HP machines. But I never used the restore. I'm not sure if it formats or just installs over what's there. It may leave files and folders that are in subfolders of programs that come bundled with the machine assuming it's data or something. The path looks fine to me. That %SystemRoot% stuff is just a way to use environment variables in case the system is not installed on C:\Windows.

If you really just want the OS and not the bundled software see the threads about ISO download for Vista. You can evaluate for 90 days perfectly legally. There are also tutorials how to extend the evaluation by 30 days.

Read other 6 answers
RELEVANCY SCORE 70.4

Hi,
Im running XP professional with a drive formated in NTFS....anyway, i transfered this HDD from an old computer and while it is working, i figure a reformat might help clear up any confusion from last computer..anyway..whats the best way to go about this:

1)booting from xp cd and doing a clean install (deleting partition, creating new one..installing)

2)using low level format disk from fujitsu which resets everything to zeros on the hdd
 

A:format questions

Most people recommend against the low level format. You are going to have to reinstall either way. Just partition and format it normally.
 

Read other 3 answers
RELEVANCY SCORE 70.4

I think that it's time for my HD to be formatted because it has gotten real slow as of lately. How would I go about formatting my HD? it's about 40 GB. What would I do after I format it?

A:How do I format my HD and some questions

So, you have no data on the system you wish to save?

Can you describe the slowness to us? Sure you just don't have some bad programs running there?

Read other 4 answers
RELEVANCY SCORE 70.4

I purchased a program that encript HTML files and protect it from being copied using data from the disk in the format area information, in that way the final user get a key code, that I use to get a key that I send to the user, and with it the end user has access to the html information.
Recently a possible user asked me to install the program in a Pen Drive, I ask to the program people the factibility, they say that is OK, but is not secure.
I explain to him that I was asking to the user to format the pen drive, but he insist in that is easy to copy this.
My question: Is really as easy to copie the format information from a Pen Drive to other?

Best Regards
Juan Macedo
 

A:Format Questions

Well, it's pretty easy to copy data to/from USB drives. There are various newer schemes that are build into the hardware of the pen drive to allow for better security, I haven't tried any of them. My pen-drive security is my pocket.
 

Read other 1 answers
RELEVANCY SCORE 70

Hi
I set up a User defined Enviro. Var. called GomFolder to be C:\Users|Damo\MyDocuments\NinjaTrader 7
See the attached clip
2015-01-23_1242 - Judge101010's library

My understanding is that this should set up a folder called GomFolder in the NinjaTrader 7 folder.
Is this correct?

If not; should I set up a folder in NinjaTrader 7 called GomFolder and then go into the Environment Variables and set up a new GomFolder Enviro. Var. as C:\Users|Damo\MyDocuments\NinjaTrader 7\GomFolder?

Sorry if the question is remedial - I've done the first and can't find the GomFOlder anywhere after hours of looking so now i'm thinking my understanding is completely inaccurate and the Enviro. Var. settings only allow you to assign a name to something like in my case a filepath??

Any help would be most appreciated
Thanks
Damo

A:Environment Variables

Dear Damo,

Everything you know about Environment Variables, please, erase from memory now.

Okay. Now, let me re-word your OP:







  
Quote: Originally Posted by rosphite1


What are Environment Variables?


I'm glad you asked, Damo, because I was just about to explain what they are.


Environment Variables are essentially variables that store information about an Operating Environment, such as the computer name, the systems root directory, your username, temporary folders etc. These environment variables consist of key|value pairs, where both key and value entries are arbitrary strings. Many operation systems have their different implementations of them and set and use them differently. In Windows, environment variables are created by the OS at boot, and more so are created and some changes as the user progresses into their logged in session.

A common environment variable that is native to Windows and Unix systems, is the Path variable. This variable holds a list of folder hierarchies, separated by a semicolon, that a shell would use to search for a command.

Applications make use of these environment variables too. They can create their own temporary environment variables that exist until the application's process exits, and some applications rarely create persistent environment variables (which is what you've managed to do manually, Damo) that are a more permanent way of storing an environment variable i.e. ... Read more

Read other 3 answers
RELEVANCY SCORE 70

I'm not sure if this is because I am on a Dial-up Connection now, or because I am using RamDisk. I always had a Cable Connection, and didn't use RamDisk up until recently, and I never had this occur.

In C:\WINDOWS\TEMP I have three persistent sub-folders: Cookies, History and Temporary Internet Files. Inside each of these three sub-folders is an index.dat file.

I've tried numerous ways to delete these three sub-folders and their contents, but they keep returning. The only way I've found that I can do it is by first deleting these entries in System Properties > Advanced > Environment Variables > System Variables:

Variable name: TEMP

Variable value: %SystemRoot%\TEMP

Variable name: TMP

Variable value: %SystemRoot%\TEMP

...and then running Spider116. After Spider reboots my system, the index.dat files are gone, and so I can then also delete the Cookies, History and Temporary Internet Files within the TEMP folder.

Can anyone explain why these sub-folders persistently return? How important is it that I keep these Environment Variables entries in System Variables?
 

A:Environment Variables

The environment variables are very important. They tell your machine where to store temporary (setup) files, and where to go for a program when you type something in the Run box, for example. They also contain information needed by apps of the location of the operating system files, and what file-types are executable. Be careful.

Now back to the original problem--->

These strange things have been happening to me, too.

Today I noticed that my temp files were now in C:\Temp, as well as my cookies, history, and temp internet files. I did not move them there, though I suppose I could have done it by clicking Apply on one of the many tweakers I've tried.

Moved everything back to their default positions, but then had to use Spider, like you, to delete the folders.

It is possible some program's settings that we both have, or even some spyware, is responsible for this.

No viruses, no malware detected.
 

Read other 2 answers
RELEVANCY SCORE 69.6

Hello
I have been having a lot of blue screen issues with my desktop over the past couple of days and it's to the point where I want to do a format.
I'm somewhat familiar with doing a format as I had done it a couple of times with my older desktop running XP.

My first issue with attempting to do the format on my current desktop is that I don't have the Windows 7 Professional OS Disc.
For whatever reason, the business where I bought the computer didn't include the disc.
It's a legitimate business where I bought the computer and I do have the product key for the OS.
They told me I could go online and burn the OS to a disc(s) myself.

I didn't do that but what I'm thinking of doing is do the Create a System Image thing.
My question about using that method is:
If my computer has a virus, will that virus be included with the system image?

If it isn't , then I'll have a couple of more follow up questions if anyone is interested in giving advice.

A:Windows 7 Pro Format Questions

Hi View,
Creating an image of a problem OS is pointless, you'll be where you are now! blue screening!! and yes if you are infected that will be carried over as well.

Now for some better news
run this tool, copy/paste the results
http://go.microsoft.com/fwlink/?LinkID=52012

It should show your system with either a System builder or Retail licence type
Note the business SHOULD have provided you with the discs

If it comes back as legit i can provide a link for W7 SP1 download.

Roy

Read other 6 answers
RELEVANCY SCORE 69.6

Okay, I got this problem today that no one has been able to solve (http://forums.techguy.org/t369357.html) and from looking around and reading other forums I've decided that a format is going to be the only way to solve this.

Can someone give me the best process as far as going about reformatting and reinstalling Windows and stuff? Right now I'm using XP Professional SP2, but the only copy of Windows that I have is Windows XP Home. The Home edition that I have is an upgrade also; on the box it says "For users of Microsoft Windows 98 Second Edition or Windows Millenium Edition."

My computer is a Sony VAIO PCV-RX490TV and I have 2 system recovery CDs that it came with, a driver recovery CD, and an application recovery CD. Am I going to be able to reformat, install Windows XP and get everything up and running again or am I missing anything before I start this?

Any help is much appreciated; I haven't formatted a computer in ages so I'm really not sure how to go about it.

EDIT: Actually, I just found a Windows 2000 Professional Reinstallation CD but it's the one that came with a Dell I got awhile ago. Could/Should I use this? I want to end up with XP in the end but I'm not sure how the upgrade CD works.

EDIT2: Also, I have 2 drives - C: and D: - and would like to leave D: untouched if that's possible... I don't know, just throwing this out there.
 

A:Solved: I have to format, but I have some questions...

Read other 7 answers
RELEVANCY SCORE 69.6

I am looking at a Soyo Dragon Plus motherboard, and it mentions something about RAID network, and SP/DIF format, what is this? Is it something I could use? Thanks for the help, I am putting together a new system next week and would like some help I am replacing the case and MOBO and CPU and Graphics card
 

A:I have some questions about RAID and SP/DIF Format?

Read other 7 answers
RELEVANCY SCORE 69.6

I have recently formatted the drive on my laptop and reloaded the programs from disk (XP) and have a few questions I hope someone here could help with:

1. Reloading the programs from disk was pretty straightforward but downloading and installing the Windows service packs, updates and patches etc took hours (on broadband).
Can I back up these updates to disk so in future I can save all the downloading time and what exactly do I save? I looked in the files and just donít know where to start!

2. After loading the various programs from disk and a few others such as AVG, Zone Alarm etc but prior to downloading the Windows updates the disk space used was about 3Gb. After downloading the service packs etc the disk space used jumped to over 9Gb! (yet, when I add up the individual folder sizes, it comes to only 4.4Gb)
Do the Windows updates take up an extra 6Gb? And where are they hiding?

3. The @ symbol has jumped from the [email protected] key to the Ď2í key. How do I change it back?

Apologies for the lengthy post but some help would be very much appreciated.

Thanks
 

A:Drive format questions

Read other 7 answers
RELEVANCY SCORE 69.6

Hi, I know how to do conditional format for distant cells, but the problem is I need more than 3 conditional format options I dont want to play with vbs. I need to know how to add many values to a condition formula.

im pretty sure i am not clear so here's an exemple!

if the cells in the column g is = to either "15 min break ?" or "lunch break?" the cell on the row where the "15 min break ?" or "lunch break?" need to be formated a specific way.

if the cell in the column g is = to offline duties or anything else it need to be formated an other specific way.

ive been able to have the formula to work with 1 source like 15 min break in condition 1 and on condition 2 the lunch break. i also been able to get the formula to look at a list but it take the info from the fisrt cell in the list and ignoring the rest of the list.

can anyone help me!!!
thanks
 

Read other answers
RELEVANCY SCORE 69.2

Hey,

Can anyone explain are environment variables are within the Advanced System Settings of Computer? I've had to create a new environment variable for a Java complier, and I was just wondering what exactly are environment variables are and why are they used?

Thanks,

Harry

P.S I've attached some screenshots.

A:What are Environment Variables in Computer?

  
Quote: Originally Posted by x BlueRobot


Hey,

Can anyone explain are environment variables are within the Advanced System Settings of Computer? I've had to create a new environment variable for a Java complier, and I was just wondering what exactly are environment variables are and why are they used?

Thanks,

Harry

P.S I've attached some screenshots.


Path is a system wide environment variable!! Not a user one!
extend the path variable with the path you want. For example:

PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v 1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\

Note the semicolon between the items!

It's the default search path if it doesn't know explicit where to look

Read other 3 answers
RELEVANCY SCORE 69.2

Is there an Environment variable that can tell me where the Documents folder is located? Typically, the Documents folder is located in C:\Users\username\Documents.

I am creating a batch file to copy 1 file from a remote location (another computer in the network) to the Documents folder. Since the location can vary on each computer, I would like to use an environment variable to avoid any errors. I ran Set from the command prompt, I got a list of all environment variables, but don't see anything related to the Documents folder.

A:Windows 7 Environment variables

Assuming the Documents folder is located in Users\Username\Documents, it can be found with %userprofile%\documents.

This works also if user profiles are relocated to another partition or drive but not if the Documents folder is located outside the main user profile folder using Folder Properties > Location > Move.

Read other 1 answers
RELEVANCY SCORE 69.2

Are environment variables on Windows 2000/XP global?

When I say global I mean do different language installations (i.e French, Spanish etc) use the same (English) variables?
 

A:Environment Variables (Local)?

Read other 7 answers
RELEVANCY SCORE 69.2

I know NOTHING of environment variables, and would like for someone to explain to me how to make one, so I can run multiple instances of the portable version of Pidgin ( Home Page of Pidgin ---> www.pidgin.im ) ( Portable version of Pidgin, that I'm using ---> http://developer.pidgin.im/wiki/Using%20Pi...inFromaUSBDrive )Can anyone help me? If you can that'd be great =]Thank you!

A:Windows Environment Variables

Hello JC,"How To Manage Environment Variables in Windows XP":http://support.microsoft.com/kb/310519

Read other 5 answers
RELEVANCY SCORE 69.2

Hi all:

I apologize if this is not the right area for this question but it didn't seem to fit anywhere else.

I am having a problem understanding system environment variables and hope someone can educate me a little.

Specifically, I am trying to set up Virtual box on a Vista Ultimate host so that limited users accounts can access the virtual machines.

I found the following information out on the web while trying to research the issue:

" By default all VM machine and disk data is stored in the .VirtualBox directory located in your home directory, C:\Users\<username>\ ".

This,I believe, limits the use of the VM to the user who creates it. If this is true, then I think the following sys environment variable would allow all users access the the vm's:

HOME = C:\Users\Public\<folder for organization purposes>\

I did a test run of setting up a VM and followed the creation process until it got to the point where it had finished configuring with the following location given for creating the file:

C:\Users\my_name\.Virtualbox\HardDisks\test.vdi

I found a similiar post on a Virtual Box forum but the response given was that the sys environment variable should be:

" HOME = C:\HOME"

I think that is wrong since there isn't a "HOME" directory in Vista.

Can anyone tell me if my thinking is correct, or, if not, where I am wrong?

thanx in adva... Read more

Read other answers
RELEVANCY SCORE 69.2

Our Local Family History Society has a system of using shortcuts to access Files & Folders containing data. The system was developed under XP.
We needed to get a new PC and it came with Vista.
The shortcuts were all hard coded with Locations like "C:\CDs\xxxxxx"
I decided that it made better practise if I used a global environment variable.
I created the variable and starting coding the variable %nnnnn% into the shortcut. Worked fine until I looked at the properties of the shortcut and found that VISTA had taken the Value of the variable and stored it in the Target field. This was useless as it did not allow me to change the value of the variable if there is a future change of location of the data.

If I try the same thing in XP it rememberes the variable in the target field and not the value. Exactly what I would have expected and wanted.

Is there something that I must do different in Vista to XP or is this a bug?

Is there a work around?

I am currently putting in a NAS and migrating all of the files from 4 machines to the NAS. This is/WAS(?) for ease of maintaince. Previously all PC's had all data and the same data stored on their C: drive. Good redundancy put required the jobs to be done 4 times.

My current strategy is to go back and remodify all shortcuts with XP.


Anyone HELP please.

Ron

A:Environment Variables in Vista

For people kind of lost on what threadstarter is talking about, check out this article:
http://www.watchingthenet.com/using-...n-windows.html

As for your problem:
According to this article
http://www.vistax64.com/powershell/2...url-files.html
you have to use carats (this character: ^ ) around the variable to prevent Vista from expanding it.
Perhaps ^%MYDOCS%^ instead of %MYDOCS% for example.
I can't test it ATM as I'm on Windows 2000, but it's something to try.

Read other 19 answers
RELEVANCY SCORE 69.2

I want to restore my environment variables from system restore and nothing else. Whenever I go back to a previous System restore, I have problems with Windows Installer. I don't want to system restore again (unless I really have to) to fetch these environment variables.

Is this possible without having to system restore?
 

A:Want to restore environment variables ONLY!

No.
 

Read other 3 answers
RELEVANCY SCORE 69.2

Greetings,

I am wondering if any of you guys can help me out of this little problem. I was performing some maintenance on my brothers laptop a few days ago. He had been having some issues with huge memory dumps being created and so I went in to his advanced system settings and disabled the feature to create the dumps. For some reason while I was in there I decided to click that Environment Variables button, I selected all the variables in there and clicked 'Delete'. <<< STUPID!

Next day he contacted me to say that all hell had shook loose on his machine. Needless to say a giant finger came pointing at me as the guilty culprit. He stated that he:

Can't enable volume, just get error code:0x8000FFFF
Can't run system restore, just get an error message.
Can't run system maintenence, just get an error code.
Can't uninstall any programs.
Can't change any windows settings, just get an error message.

My first thought was to get him in to safe mode and do a system repair or to restore the old variables. Unfortunately when he tries to reboot with the F8 key nothing happens!?

The worst part of this is he lives 90 miles away so I am going to have to talk him through what to do.

If anyone can offer me some advice on restoring the original vars it would be most appreciated.

Thanks for listening.
 

A:I Deleted All Environment Variables

Important issue is Which user-id were you using?
My suggestion is to RECREATE every variable sigh MANUALLY

The issue will be

some vars are dependent upon the actual hardware (cpu)
some dependent upon the software actually installed (eg %PATH%)
YOU need to understand and help figure out what the correct values of EVERY variable *must* be :sigh:






and the PATH to access installed programs:

 

Read other 8 answers
RELEVANCY SCORE 69.2

I was looking more into Environment Variables and i was wondering if i should add any to the list for USER or just leave it alone: is there any benefit to adding variables for user like performance wise? what is good setup for variables?

A:inquiry on Environment variables

Why do you want to do this? What do you think you will accomplish?

There is no point at all in adding new variables unless there is a use for them.

Read other 9 answers
RELEVANCY SCORE 68.8

Hi

I need to scan some test docs, and save them in a higher quality image that can be printed. I understand I should be able to do this from PhotSHop 7 and I do see under File>Import>QuickCam Twain. Will this allow me to scan the doc and then save it as a PDF image?
And will it be of printable quality?

Thanks, and any other tips on this subject would be appreciated!
 

A:Save As PDF format in PhotoShop 7 questions

Read other 10 answers
RELEVANCY SCORE 68.8

Using Excel 2007

I'm entering dates and Excel keeps changing the format from 01/20/2012 to 20/01/2012. Even though I changed the display format, when I look at the content of the cells it's still in the day/month/yr format.

Something changed since I started this worksheet yesterday, because the dates were going in correctly yesterday.Is there a region setting or something that I need to change?
 

A:Solved: Excel format questions

you have this marked as solved - is that the case

can you load a spreadsheet - with dummy data - so we can see

whats the format you are using
have you tried
MM/DD/YYYY
 

Read other 2 answers
RELEVANCY SCORE 68.8

I downloaded the W8 RP iso file from here. I was reading that you can format the HDD at the beginning of the installation process. So no need to format with a thrid party software? Also is it true that you can create multiple partitions with the installer? I'd like to do a 20Gb partition for the OS and programs and the rest of the HDD for everything else. Also it reads that my graphic card must have "DirectX 9 graphics device with WDDM 1.0 or higher driver" What does that mean and how can I check it? And will it realy not work if I don't have it specificaly?

A:Disk Format and other questions regarding installing W8 RP

Clean Install - Windows 8

If your using Win 7 I would make the 20GB partition with it, move the files you want to there and then do the instillation.
By choosing the option to do a custom instillation you can select the partition to install Win 8 on. Just pick the one that you want to install it on and you should be all set.

What is &#34;DirectX 9 graphics device with WDDM 1.0 or higher - Microsoft Answers
Your graphic card should be OK if your using Win 7/Vista or XP.

Read other 14 answers
RELEVANCY SCORE 68.8

Recently carried out a format on my dell dimension PC to generally clean it all up and start over again (everything had been backed up). Its been a while since a carried out a format and since restarting i have had a few problems that i can't remember how to fix them but they are very basic

I am using some old dan speakers on my dell pc which have worked fine with the PC but since the reformat they just don't register, and it looks as though my sound card is installed and recognised

Second point is the beasic keyboard problem with Shft + 2 becoming the @ icon while Shft + ' becomes "

apart from that is there any other software i should downlaod and run to keep my PC healthy, hope this is in the right part and thanks in advance
 

A:Basic Questions, Problems after Format

You can go to the Dell Support site, navigate to your model and download any drivers you need
 

Read other 2 answers
RELEVANCY SCORE 68.8

In regards to the W520's BIOS HDD password, what are it's limitations? (ie: character length, lower/upper case, alpha characters, numeric characters, special characters) Also, in another thread moderator richk mentioned that probably all T410 and newer thinkpads share the same HDD password encryption algorithm. Can I get some solid "official" information on this? I need to decide which of my ThinkPad machines to keep (or possibly aquire) as a backup service machine to my W520. Lastly, this whole Master/User HDP system I assume is internal to the ThinkPad's BIOS/motherboard? As a drive which supports hardware level encryption would only have one factory set encryption password (I know these can sometimes be changed via manufacturer's software depending on model, yet still one single password would remain for the drive). Therefore in theory the BIOS/Motherboard store the USER password and apply it to mount the drive even when a MASTER password is used, right?





ThinkPad X220 ? i7-2640M ? 16GB (2x8) Corsair Vengeance RAM ? 80GB Intel X25-M G2 MSATA SSD ? 2TB Samsung Sinpoint HDD ? Intel Centrino Advanced-N 6205 WiFi ? LG IPS LCD

Read other answers
RELEVANCY SCORE 68.8

(this is a bit of a long post. Thanks in advance is anyone reads this.)
It doesn't seem like any of these things are working. Thanks to the help from all you guys, I was able to get the actual virus removed, but it's the removal of the virus that caused the damage. Since I can't seem to get the backup process to work properly, I came up with this plan.
What if I just take all the files that I want to save, pack them in new folders, and move them over to my external hard drive, then just format my internal hard drive (right click on C drive, and click "format").
It seems like a good enough plan, but these are the questions I have.

1. Will I need to reinstall my OS? (if so I'll have to explain my situation with my OS)
2. Will I be able to keep my program files like Photoshop, etc. (I also have to explain this situation)

With my operating system, I upgraded from Windows XP home to Pro, because of a virus attack to my computer a few years ago. My Dad has some friends who are IT guys where he works, and they offered to help us out. We took our CPU to them, and after the virus was removed, they also installed Windows XP pro for us. So we don't have an actual Windows XP CD.

With Photoshop, and Flash, I tried moving them, but after I read up on it, I found out I have to uninstall the programs from the C drive, and then reinstall them onto the external hard drive. The only problem is, in the folders located in the "programs and files" folder... Read more

A:Questions Before I Format My Hard Drive

Hello, As someone who has formatted the hard-drive on my PC before, I can answer both questions for you. First off, do NOT format your C drive while using it. You'll need a MS-DOS floppy disk to boot from. Then when you boot from it, there will be 2 options. Choose option two and wait for the floppy to load. Then type this:Format C: /SThis will format your C drive without causing damage to your hard-drive.1.) You will need to reinstall Windows XP. Reformatting erases all data on your hard-drive, including the Operating System.2.) If you have the license keys or a backup installation CD for your programs you can keep them. Otherwise you will have to contact the customer support for each individual product. Reformatting and reinstalling XP is a pain in the butt, believe me. If your PC is recent (2005-2006), it may have an option built in to restore it to factory settings. Check with your manufactuer about that. By the way, how do you know you have a Virus on your PC? Have you done an antivirus scan at all?

Read other 18 answers
RELEVANCY SCORE 68.8

Hi

about windows environment variables , can i backup them ?

may i know where does windows 7 store them ?

thanks

A:how i backup windows environment variables ?

I reckon here.

Read other 3 answers
RELEVANCY SCORE 68.8

Greetings ~ trying to find a solution to collect mapped drives to parse and use as system variables for command script file. I have approximately 250 ~ 300 test servers that are configured in different localgroups consisting of 30 ~ 40 machines per group. Updates to software (config files, test routines, etc.) are regularly required to be sent to the test systems.

Currently have batch scripts that map to each of the local systems and using Robocopy 'push' out the software updates. My problem is given the number of machines and the potential for relocations to occur w/o prior notice, I would rather have a systematic (automatic) way of updating scripts with mapped drive information. After collecting the info passing the system names (all test systems have identical shares) to be used as environment variables for use in updating command script files.

Have thought about just sending 'net use localgroup /domain' to a text file and parsing it but thought perhaps someone out there might have a 'better' solution.

Understand that WSH would probably be a better route but time and resources (and knowledge of WSH) prohibit this at right now. Have a deadline to meet ~

Any thoughts and input would be greatly appreciated.

Regards ~ kevin
 

Read other answers
RELEVANCY SCORE 68.8

I think i accidentally deleted some system variables in my windows 10 OS. What are the defaults variables and their values. Need Help

This is my variables
and i found a post in your forum Environment Variables in Windows 10 - Windows 10 Forums

So think i deleted
%CD%
Current directory full path

%CMDCMDLINE%
Returns exact command line used to start current cmd.exe session.

%CMDEXTVERSION%
Number of current command processor extensions.
Are these important ? Help me to get it back

A:Deleted Environment Variables in Windows 10

I got solved my problem,

Read other 2 answers
RELEVANCY SCORE 68.8

I have installed Java in Program Files (x86) > Java > jre > bin

In Environment Variables, I accidentally deleted the default PATH variable.

This is what I currently have in the PATH variable: Please can someone tell me what the default PATH was? I will add this in front of the Java path.






Quote:
C:\Program Files (x86)\Java\jre6\bin;


Same question for CLASSPATH. What was the default variable for CLASSPATH?

-----

I open up CMD and type java -version and javac -version

For java -version I get:






Quote:
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)


For javac -version I get:






Quote:
'javac' is not recognized as an internal or external command,
operable program or batch file.


What am I doing wrong? How do I make java work on windows 7 and what are the right paths to enter?

Thank you!

A:Java, Windows 7 & Environment Variables

This is in Windows 7 x64 Ultimate

CLASSPath
.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip

QTJAVA
C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip

Read other 6 answers
RELEVANCY SCORE 68.8

Environment Variable Path
%ALLUSERSPROFILE% C:\ProgramData
%APPDATA% C:\Users\{username}\AppData\Roaming
%COMMONPROGRAMFILES% C:\Program Files\Common Files
%COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files
%COMSPEC% C:\Windows\System32\cmd.exe
%HOMEDRIVE% C:
%HOMEPATH% C:\Users\{username}
%LOCALAPPDATA% C:\Users\{username}\AppData\Local
%PROGRAMDATA% C:\ProgramData
%PROGRAMFILES% C:\Program Files
%PROGRAMFILES(X86)% C:\Program Files (x86) (only in 64-bit version)
%PUBLIC% C:\Users\Public
%SystemDrive% C:
%SystemRoot% C:\Windows
%TEMP% and %TMP% C:\Users\{username}\AppData\Local\Temp
%USERPROFILE% C:\Users\{username}
%WINDIR% C:\Windows

NOTE: C:\ is the system drive (ie, where Windows is installed). It will differ if you installed Windows to a different drive.

A:Windows 7 Environment Variables List

This list is of course valid only if, as you mentioned, Windows is installed in C: AND you have not moved or relocated any of the folders created by Windows installation. For instance in my case I have Windows installed in C: but I have relocated both Users and ProgramData to D:, so half of those variables in your list are wrong in all my computers.

Variable Refers to folder or drive%SYSTEMDRIVE% The drive / partition where Windows is installed, default = C: %PROFILESDIRECTORY% Users, default = %SYSTEMDRIVE%\Users%WINDIR% Windows, default = %SYSTEMDRIVE%\Windows  %ALLUSERSPROFILE% ProgramData, default = %SYSTEMDRIVE%\ProgramData%APPDATA% %PROFILESDIRECTORY%\{username}\AppData\Roaming%COMMONPROGRAMFILES% %SYSTEMDRIVE%\Common Files%COMMONPROGRAMFILES(x86)% %SYSTEMDRIVE%\Program Files (x86)\Common Files%COMSPEC% %WINDIR%\System32\cmd.exe%HOMEDRIVE% The drive where Users is located, default = C:%HOMEPATH% %PROFILESDIRECTORY%\{username}%LOCALAPPDATA% %PROFILESDIRECTORY%\{username}\AppData\Local%PROGRAMDATA% ProgramData, default = %SYSTEMDRIVE%\ProgramData%PROGRAMFILES% %SYSTEMDRIVE%\Program Files%PROGRAMFILES(X86)% %SYSTEMDRIVE%\Program Files (x86) (only in 64-bit version)%PUBLIC% %PROFILESDIRECTORY%\Public%SYSTEMROOT% %WINDIR%%TEMP% and %TMP% %PROFILESDIRECTORY%\{username}\AppData\Local\Temp%USERPROFILE% %PROFILESDIRECTORY%\{username}
Kari

Read other 9 answers
RELEVANCY SCORE 68.8

Hey
 
This is a weird problem and I haven't been able to find anyone with a similar problem.  When I install software, I find that most of my environment variables simply disappear, including the PATH variable and the WINDIR variable.  This causes lots
of things to not work on my system, since a lot of Windows shortcuts appear to rely on WINDIR.  However, when I restart my computer, they all come back.  I thought this was a problem with Windows Installer, but then I found if I manually changed
an environment variable such as the PATH, the as soon as I press 'OK', they are all gone again until I restart.
Has anyone heard of this issue before?  I will post below the contents of my environment variables before and after they disappear.  This is a really annoying issue.
I have starred out a few of the values of the variables as they contain information on my domain.  I will also note that I have starred the value of LOGONSERVER, but the value is different before and after the problem.
Before disappearing:

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\garnold\AppData\Roaming
asl.log=Destination=file
BDSCOMMONDIR=C:\Users\Public\Documents\RAD Studio\5.0
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=NAGILUM
ComSpec=C:\Windows\system32\cmd.exe
CYGWIN=binmode tty ntsec
FP_NO_HOST_CHECK=NO
HOMEDRIVE... Read more

Read other answers
RELEVANCY SCORE 68.8

Hi,

I'm trying to set the desktop wallpaper using group policies, without using active desktop. I've created an administrative template to do this setting the registry key

HKCU\Software\Policies\Microsoft\Windows\Control Panel\Desktop\Wallpaper

The path I'm setting to the wallpaper includes the environment variable %USERPROFILE%. This works fine on a Windows XP machine, but not on Windows 2000.

The only possible cause I can see is the environment variable. Is it likely that this is the cause of my problem and if so how do I work round it?
 

A:Environment Variables in Group Policies

That is because it is not necessarily defined. You may have to set it up.
Logon to a user and open a command prompt. Type SET and enter. That will display all the variables and values.

But you probably already knew that!!

Are you sure those keys are the correct places??

I can't test as I don't have policies set up.
 

Read other 1 answers
RELEVANCY SCORE 68.8

Hello,

I need some help configuring Vista environment variables.
Changes in the 'path' under system and user variables don't seem to reflect.

1) My 'path' variable under system variables looks like:

%SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%\SYSTEM32\WBEM; C:\Program Files\kepler-1.0.0\R\R-2.6.2\bin; \Program Files\Java\jdk1.5.0_15\bin; C:\Program Files\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin

Despite this: When I type java -version, I get java version "1.6.0_02" as the reply, while there is no trace of this version anywhere in the environment variables.

Neither does ant -version give any response..when infact it should give the version.

2) I am trying to run R (executable file present in the bin), which is not running despite adding
C:\Program Files\kepler-1.0.0\R\R-2.6.2\bin to the path variable.

3) I was confused where to add the path variable, so I've added it to both user and system variables.

I'll be extremely greatful if anyone can solve this perplexing issue!

Thanks a ton!

A:Environment Variables Problem: Plssss help!

If I understand you correctly, you're saying that Java/Ant are returning unexpected version info despite the fact that you've modified the relevant environment variable?

First thing I'd suggest is that you reboot, if you haven't already done so. Processes inherit their environment (from their parent process), and changes you've made may not be reflected until the process in question restarts. Rebooting is a darn good way to ensure that all processes restart!

Otherwise, why do you believe that Java/Ant are going to return version info based on envvars? You may need to simply update the JVM to whatever version you're after. Changing text strings (envvars) does not actually change the version of anything - it's just cosmetics. You're better off checking the version and timestamp info of relevant DLLs if you want to be sure of what version is installed.

Read other 1 answers
RELEVANCY SCORE 68.8

Couldn't quite find the right thread for this so stuck it in General and figured it would be moved if need be.

I'm wanting some more information on Environment Variables such as %userprofile%. Lets say software will install to %appdata% which relates to C:\Users\(CurrentUser)\appdata, that's fine, but what if this is a standard user profile and the installer gives a UAC prompt for Admin Privileges which are then provided, surely the software installer is now running in the admin user profile so %appdata% would relate to C:\Users\Admin\appdata?

Or is this not possible because you are still in the (Standard) user account therefore the "Environment" is still technically in the standard user rather than the admin.

A:Environment Variables and different user profiles

You're correct in that the path would be deviated when elevating. The "environment" is per-user account, indeed. When elevating though UAC (or by using "run as another user), the launched program will run in the same desktop as everything else (that's why you see it alongside your other programs), but will still be running under different credentials, which means another user account, which means getting its own set of environment variables, security permissions and other things, so it will see the paths for the admin profile, not the standard that launched it.

Within the installer itself, it could be one of two things. The whole process is elevated, so effectively the user will see, within it, the environment of the admin account used to pass UAC, and that will get the buggy behavior you describe. It can also ask for options, folders and everything before elevating, in which case the user will see its own familiar environment, which is in turn passed to the elevated worker process afterwards. Which of those approaches it taken depends entirely on how the installer was made.

The fist behavior I describe is a typical case of a broken installer. Actually, many programs exhibit similar bugs due to assuming that Windows is left at its defaults, and simply fail when those assumptions are not meet (the default being here using an admin account by default and elevation don't requiring an extra password). It's a common flaw of many programs, including some from Micro... Read more

Read other 1 answers
RELEVANCY SCORE 68.8

Hi,

I've been trying to get something working with batch files and been running into a problem with env variables. First off, I have a batch file which is launched by cruisecontrol and this batch file would set a couple environment variables. then it will call a second batch file which would setup some more environment variables and exit. here is an example:

batch1.bat:
===============
set home=C:\tmp
set stuff=C:\stuff
call batch2.bat
if not errorlevel 0 exit %errorlevel%
echo %test%
===============

batch2.bat
===============
set test=C:\
===============

So if I ran batch1.bat, would it be able to echo the correct value for test?

For some reason it is having an error there.
 

A:batch files environment variables

Its Working ..What Is The Error Message You Are Getting
 

Read other 2 answers
RELEVANCY SCORE 68.4

Hello, before I start I'll give you a thanks in advance.


I asked my friend to uninstall the Ubuntu I'd installed for him to try it and he just deleted the partition which has led to a whole host of issues as he's managed to delete some of the grub boot manager and many Wndows files. After a great deal of headaches I've decided to simply format they entire hard drive and reinstall Windows. My problem is that I don't have the Windows disc, it was pre-installed - does the version have to precisely match up for my product key to work or just Windows 7 Home Premium 64 bit generally? I believe Microsoft supply the ISOs.

So my questions are:

1.) Do the versions have to match as I said above.
2.) Where do I get the ISO or can it be found with a quick Google (on my ipad at the moment, borrowing my Mum's laptop to get the files etc. but want to do it in one sitting)
3.) How do I make sure the hard drive and all partitions are completely formatted so they won't conflict with the new install?

Cheers for any assistance.

A:Installing Windows after a complete format, just a few questions.

If you do not have a Windows 7 installation DVD, or it's not up to the Service Pack level currently installed,you can download a legal copy with SP1 integrated from here:

Windows 7 Direct Download Links

Make sure you get the same version you have, Home Premium, Pro or Ultimate and 32 or 64 bit. Note that Basic or Starter is not available.

I recommend using ImgBurn at 4X speed (or the slowest available) to create the DVD from the downloaded .iso file.

You can do this on any computer capable of burning a DVD.

YOU MUST HAVE A VALID KEY TO INSTALL THIS .ISO. The one on the COA sticker on your computer will work.

You can also create a bootable USB Flash drive (4GB or larger) to install Windows 7 from.
Download and run Universal USB Installer – Easy as 1 2 3
Select Windows 7 from the first drop down list, all the way to the bottom
Select the downloaded Windows 7 iso file
Select your USB flash drive
Click Create

For techies or folks who work on computers: Create Windows 7 Universal ISO With All Editions Selection On Install with ei.cfg Removal Utility.
This will fit on a 6GB flash drive or can be burned to a DVD.

Read other 9 answers
RELEVANCY SCORE 68

Hi all,

As far as I can tell, my problem seems to be quite simple. The solution, however, may not be quite as simple.

The application I am trying to make work is python 3. I also have python 2 installed, but that works fine.

The problem is at the command prompt I would like to be able to type
Code:
python3
and have it launch the python 3 shell. Currently, all I get is
Code:
'python3' is not recognized as an internal or external command,
operable program or batch file.
If I type
Code:
C:\Users\Jazzvibes>python
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
it already launches python 2 (which is correct).

I have already tried to put python3 as a system and user environment variable, in AFAIK the same way as python is set up. I changed this at the system properties window and then going to environment variables on the "Advanced" tab.

if I type
Code:
set
at the command prompt, I believe it should confirm this (please correct me if i'm mistaken)

Code:
python=C:\Python26\python.exe
python3=C:\Python31\python.exe
So, have I done something wrong, or left a step out? Please let me know if you need more info.

I should point out that typing a hard link to python3 using the address above does work, but I would like the shortcut for convenience (and to work out why it doesn't w... Read more

A:Windows doesn't seem to keep my system environment variables

I have never done anything like you are attempting to do. (Setting up an alias for an executable)

I would tackle the problem by creating .cmd or .bat files that are in the path that then calls the proper executable and passes along all parameters.

For example, your batch file for python 3 would be called python3.bat (captain obvious to the rescue ) and you would include the following code:


Code:

C:\Python31\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
I'm not sure you need to include all of those command line parameter pass-throughs but it can't hurt.

Read other 4 answers
RELEVANCY SCORE 68

Hi there

I know how to do this in ksh, but not in Windows. In a batch script, how do I call an environment variable and then make it explicit?

For example, I want to query the date using the %DATE% environment variable, but I want the output to be acquired at the beginning of the script and remain consistent throughout. How do I go about this?

Thanks
 

A:Solved: Making environment variables explicit

What about just putting it in a new variable something along the lines of

set d=%date%
echo %d% would then give the date as of the start of the script.
 

Read other 2 answers
RELEVANCY SCORE 68

I know how to udpate my environment variables using the stupidly slow to navigate windows. This is pointlessly slow IMHO.

How do i type a command, ONCE, that will update/add an environment variable that does not need to be retyped every time i open a new CLI session. The SET command seems pathetically lacking in this ability unless it has some undocumented argument beyond the two listed with /help.

A:Edit Environment Variables via command line

setx should do the trick.

Read other 1 answers
RELEVANCY SCORE 68

Hi everyone

I have recently installed the Java Development Kit 6 in my Windows 7 Ultimate 32 bit installation but not been able to set the path to the javac compiler in the Environment Variables. What I have done so far is:
Opened the Environment Variables dialog obx
Created a new PATH to C:\Program Files\Java\jdk1.6.0_20\bin under User Variables
Added C:\Program Files\Java\jdk1.6.0_20\bin to the right end of the series of directories called 'Path' under System Variables
The instructions on this in the Oracle website seems to be written for Windows XP and apparently different setup is required for Windows 7. All I want to do is every time I launch Command Prompt, the Prompt knows where javac.exe is so it can execute it without my typing the path to the compiler.

I would like to have as much as avice/instructions as possible because it has been nagging me for quite some time and irresolvable.

Thank you in advance,

Derek

A:Environment variables to point to the Java compiler

  
Quote: Originally Posted by derek2809


Opened the Environment Variables dialog obxCreated a new PATH to C:\Program Files\Java\jdk1.6.0_20\bin under User Variables
Added C:\Program Files\Java\jdk1.6.0_20\bin to the right end of the series of directories called 'Path' under System Variables



You don't want to add a new user variable for PATH.

You just want to add your Java JDK bin library TO THE END OF THE EXISTING PATH VARIABLE that currently exists in the system area of the environment variables, as you've done (presumably you've correctly prefixed this new appendage with a ";" to separate it from the prior item in the existing PATH list). That really should work.

Read other 2 answers
RELEVANCY SCORE 68

I'm in some need of assistance setting my EV straight, getting my computer to stop setting up it's own crazy mirror network of itself every time I boot up and weird accounts popping up with added ones deleted every day. I can show you some screen shots of what I've found, that I know is wrong, but be warned... I only know enough to be dangerous. With that in mind I wanted to start here and hope maybe before I destroy my computer (willingly or unwillingly), I would come to you guys for help. See below and let the Roast of the New Guy begin...

Read other answers
RELEVANCY SCORE 68

Under Advanced System Settings on System Properties there is a button for inspecting and editing Environment Variables.  When selecting Environment Variables a prompt is displayed for entering the password for an Administrative User.  This seems
to have the affect of showing and allowing variables to be edited for the Administrative User rather than the user who is signed on.  When values are changed/edited they do not get changed for the user who is signed in.
Therefore, I need to know how to change these settings for the signed on user when that user is a "Standard" user rather than an "Administrative" user?

Read other answers
RELEVANCY SCORE 68

Hi all,

I am a new guy on this forum.
I have been using this forum as a resource for many years (going back to the XP and Vista days), there are tons of useful information here.
In all these years I never had a question for which I had to register and ask it to you guys.
Until now......

When I click the START button and type the name of an environment variable, e.g. %appdata%, there are no results displayed.
BUT when I just type %appdata% and hit RETURN the proper roaming folder is opened.
The same for %temp% and other environment variables.

It used to work on this machine, i.e. typing %appdata% showed the Roaming folder as a result.
It seems to me that the variables are still OK, they are just not displayed in the search window.

When I check the properties of the Roaming folder the Hidden flag is not set.

Any idea what can cause this?

Thanks for any pointers!

A:Search for environment variables return no results

Welcome to seven forums

Problems with search can be usually fixed by rebuilding the index.

Index - Rebuild

I also suggest looking at these as well:

Index Locations - Add or Remove

Index - Add or Remove File Types

Read other 9 answers
RELEVANCY SCORE 68

i was editing the path in environment variables after installing jdk-6.0 when i accidentally deleted it...is there a way to recover it? or if not , can somebody tell me what was the default variable path was that? i'm using windows 7 starter...and a toshiba laptop.....please i really need help here.. thanks in advanced....

A:accidentally deleted path in environment variables

You could try a system restore to an earlier time. Not sure if that restores environment variables or not but it's worth a try.

Read other 7 answers
RELEVANCY SCORE 68

My goal is to be able to create a shortcut (.lnk) that when executed will always point to the correct file which is determined by %COMPUTERNAME%.  Currently when creating a .LNK file that points to \\server\share\%computername%.log it always expands
the variable and the shortcut is hard coded with the computer name of the machine where it was created.
Following my example above, I know I could create a .LNK that does something like this...

notepad.exe \\server\share\%computername%.log
Which will launch the correct log file.  But what if its an .EXE (%computername%.exe) or some other file type?
Is there a way to create a .LNK that does not expand the environment variables at creation time but rather when executed?

Read other answers