64-bit Not Running Batch Files/Path Environment?
May 17, 2011
I recently got a new laptop running Win 7 Pro 64-bit and as part of my initial third-party software installations I inadvertently overwrote the 'Path' environment variable (instead of appending to it). I subsequently tried adding c:windowssystem32; to it but don't know if this is doing anything. I have not managed to find any definitive information on what the Path ev should be on a new Windows 7 64-bit install.The thing is I loaded a batch process which I had on another Win 7 (32-bit) system but when I key the bat filename in cmd.exe (without the extension or double-click it) I get this error:"The syntax of the command is incorrect."If I key the bat filename with the extension, it runs but then stops because it seems not to recognize another program which the bat file calls even though I have the Path ev set for that program.
View 2 Replies
ADVERTISEMENT
May 23, 2012
how to retrieve the user variable deleted in windows 7?
View 1 Replies
View Related
Dec 20, 2011
I deleted by mistake the environment variable in path, in vista 32 bit. I was adding this ""CProgram FilesJavain";". Could anybody tell me the original settings please.
View 5 Replies
View Related
Jul 1, 2011
I am trying to create a batch file that runs 3 other batch files. Right now, it works fine using the call command on each other batch file. However, these other batch files take awhile to run. and so the entire process takes a very long time, since each "sub" batch file is run only after the previous one is finished.I was wondering if there is a command or way to start a batch file fro the top-level batch file, then go on and start the next batch file before the previous one is finished. In other words, I want the sub batch files to run in parallel in the background. (similar to the '&' in Unix).
View 1 Replies
View Related
Dec 13, 2009
Basically my question is, what's the best way of running a 4/6 screen windows 7 environment?
The detailed question is:-
I've just got a Dell XPS 8000 with a Nvidia GT 220 in it.
I'd like to run at least 4 19 inch screens. On my previous system (XP Pro 64 bit) I added a second PCI graphics card, which allowed me to run the 4 screens.
It's not for gaming, it's for developing, so I just need a lot of desktop real estate, more than 3D rendering power.
(Btw, I went for win 7 pro, due to the XP Pro Virtual machine, allowing me to run the 32bit cisco VPN client I need, in a 64 bit environment).
I installed the old PCI card I had a Nvidia GeForce FX 5200, but this seems to cause an issue with the GT220 card and the device manager reports it's stopped working (error code 43. I've googled it, seems a pretty generic error code, from what I can tell I think it's installing xddm drivers, which is the problem with wddm driver needed). I remove the card it BSOD's windows is unable to repair it, and I have to go back to a system restore point.
I see I have 2 spare PCIe x1 slots and a PCI slot on my motherboard.
Any suggestions?
Ideas I've toyed with are
1. Buy a PCIe x1 graphics card, possibly a quad card(but which one, nvidia or non nvidia)
2. Buy another PCI Graphics card,possibly a quad card( again which one? )
3. Can I spilt the HDMI and DVI outputs to give me 4 screens of 1280x1024. (or even 3 screens)
4. Scrap the GT 220, buy a PCI x16 card, then get another dual PCIe x1 card.(going to be very expensive I think).
View 3 Replies
View Related
Jun 9, 2012
In UNIX, for changing the directory path, there is "cd" command. .This works fine in windows 7 too.. But the problem comes when we are trying to change the path using environment variables. .
In UNIX, cd $JAVA_HOME changes the path to the value set for JAVA_HOME,
Similarly is there any command in Windows which does the trick from command prompt for changing path using Environment variables. .
View 1 Replies
View Related
Dec 23, 2012
I accidentally deleted the system variable PATH in environmental variable while setting path for java programs.How can I recover my path? What am I supposed to do now?
View 1 Replies
View Related
Apr 8, 2010
How can I play mp4's with Windows 7?
View 9 Replies
View Related
Feb 13, 2012
I have written a batch file to run every afternoon, using Task Manager.When I was running WIndows XP, the Task Manager (or it may have been the batch file itself) opened a new DOS window whilst it was running so that I could see everything was working correctly. Under Windows 7, the same batch file will only run in a new window if I run it myself - if it runs in Task Manager it will only run in the background. How can I get it to oipen a DOS window whilst running through Task Manager, please?
View 3 Replies
View Related
Jul 30, 2012
can I copy data from my C: to an external drive in Windows 7 recovery environment using the command prompt.
View 1 Replies
View Related
May 16, 2011
So I'm trying to make a personal shortcut on my computer to change a password using the shiftkeys .exe (C:WindowsSystem32sethc.exe) which can be done from setup.I'm looking to design this because I frequently deal with friends and family who have forgotten passwords, as well as my purchasing used computers.I want to automate the process, but I've hit a problem, which is making the batch file remove itself.I have a .exe file replace sethc.exe, with sethc.exe renamed to sethc.exe.I'm using the following lines Code: del sethc.exeren sethc2.exe sethc.exedel %0 The batch file deletes itself successfully (del %0), but it's completely failing at the removal of the .exe and the renaming. I've tried changing the targeting, checking the syntax, but as far as I can tell, everything checks out, yet it still fails.
View 6 Replies
View Related
Feb 2, 2012
I have searched all over the Internet looking for how to associate certain extensions with certain programs using a .bat file... but no luck. I have spent about two hours experimenting. I'm able to do this from the command prompt: Code: ASSOC .cpp=C++_Source_Code FTYPE C++_Source_Code=E:Notepad2.exe %0 I created a small hi.cpp file to test this. It works perfectly. The command line is E:Notepad2.exe E:hi.cpp just like it should be.
However, doing the same thing from within a batch file yields the command line E:Notepad2.exe E:assoc.bat which opens my batch file when i double-click on hi.cpp... Is it even possible to perform this association from within a batch file? I have a LOT of different file types to register, and i don't want to spend 20 minutes every time i log on associating these extensions by hand.
View 2 Replies
View Related
Dec 8, 2011
My temporary folder has been have batch files created in it every 15 seconds or so. My mouse is the arrow with the busy circle at 2'oclock of it constantly, so something is running. I checked my processes and they seemed to all be normal. I updated everything including windows.net 4 so I don't know what else to try.
It is Windows 7 64bit Home
i3 Processor w/ 4gb RAM
And the batch files all have been 6 digits numbers increasing in numbers so it would be like 178521 and the next one would be 178762 etc. There are two conhost.exe running.
View 6 Replies
View Related
Aug 24, 2012
This may seem a really obvious question, but aren't Windows Batch files written in Basic?
View 1 Replies
View Related
Nov 10, 2011
I have a quick question about compressing a bunch of log files that have specific years at the end of their file names.[code When the above is executed, it looks for an "archives" folder. If it's not there, it tries to create it as a place to store the yearly ZIP archives (notice the years are in bold in the above list of example files). Beyond that, it just goes through steps of reading the file names and parsing the name itself if and only if they're of type *.log. As you can see, I'm still working on this but wanted to understand why "ECHO is off." keeps repeated during runtime... I thought I had it set to OFF. It has me stumped.
View 9 Replies
View Related
Aug 13, 2011
How can I find out which of my files path names were too long?I'm backing up my files from one external drive to another (just dragged a giant folder over and waited over a day for it to paste the entire thing), now I come to read "The file name(s) would be too long for the destination folder. You can shorten the file name and try again, or try a location with a shorter path." The destination folder saimply reads "CD2", which could literally be anything. What's the entire path?I've got Windows 7.So I'd gladly shorten whatever path(s) and try again, but how do I read entire path of which files were too long to be in which destination folder?Don't know what to do, the window is still popped up that has the option of either "Skip" or "cancel" along which a check box at the bottom that reads "do this for all current items (11 found)", I haven't clicked anything yet.
View 1 Replies
View Related
Sep 27, 2011
I need to read several .txt files and search them for a specific string, lets say "key1" and "key2." If the file has key1, then it needs to be moved into directory1. If the file has key2, then it needs to be moved to directory2. There's no telling ahead of time what line the string is going to be on, so I'm guessing I could use "Find" to search for the key? Then how do I loop through all the files, read them, then sort them into the different directories?
View 1 Replies
View Related
Sep 23, 2012
Every picture stored in my computer is not opening, when I try to open pics then windows (7) says: "windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item". Is I'm victim of virus, or windows is corrupted??
View 4 Replies
View Related
Apr 28, 2012
I require a batch file or free utility that i can redistribute from my web site to other users, (gamers) that will copy the contents of a directory inside their game to a new location and re-name the directory at the same time. Something like this; Copy "GenesisVehicleruck diesel4tonbaker"to "GenesisVehicleruckdiesel4tonbutcher".The batch file needs to be run without the need for a command line box being opened, that is, if the user can double click on it or run it with a 'right click' that would be great. Problem there is, I maybe need an exe file not a batch file. The other part of the problem is that the folder to be copied may or may not be in the same location on every PC that runs the file. It may be the case that the 4tonbaker folder is on; [code] and I require the end user to have no need to know, just for the directory to be copied and renamed when and where it is found.If possible I then want the batch file to perform a second task. I want to distribute a folder, lets say it is 4tonbutcher and in that folder there are files lets say doc1.txt, doc2.txt and doc3.txt.On any given users PC 4tonbaker has these same named files but the content is different to the ones in my folder 4tonbutcher, I want to update the newly created folder, 4tonbutcher with the new txt files I distribute.
So, User downloads a folder called 4tonbutcher from my site.Batch file copies and renames a folder from a location on the users PC, "Genesis Vehiclesruckdiesel4tonbaker" to "Genesis Vehiclesruckdiesel4tonbutcher".Batch file copies doc1.txt, doc2.txt and doc3.txt from the downloaded folder to the newly created folder 4tonbutcher.
View 1 Replies
View Related
Sep 17, 2012
I just downloaded all of the Google Web Fonts and they were each downloaded into their respected folders, so instead of clicking on folder after folder and right clicking after right clicking and finally installing each and every font;
How can I create a command prompt (batch) file so the prompt can search the main folder where all the font folders are, grab any and all TrueType Font files and move or copy them into another single folder?
View 3 Replies
View Related
Nov 10, 2009
I have a simple batch file to load multiple files with one click, but it's not working.
When I run it, it simply very quickly pops up the cmd dialog, which quickly disappears, and nothing is loaded.
I've tried 'running as administrator' - same problem.
File is xxxxx.bat
I've even tried the fail safe:
start /d C:\Windows\System32\calc.exe
and that doesn't work, so it's not a error in my paths... for some reason, it just won't load...
Worked in XP fine...
Is there a different technique in 7?
Basically, end result, want to open two programs with one click (one icon on taskbar).
View 1 Replies
View Related
May 3, 2012
I have a folder with around 2000 files in it. I want to be able to copy certain files from this folder (normally around 40) and place them in a brand new folder, I want to be able to do this with nothing more than a txt file that has all the file names I need copying in it with every file name on a separate line.I receive around 10 new txt files each day so you can imagine how tedious it is searching through 2000 files, picking out the 40 I need, times a day everyday.To make things even more complicated, the txt files I receive don't always have the correct file names in them, maybe there's a misspelling or a word or two missing for some of the names. That's ok when I'm going through picking out the files I need to copy myself because I can normally tell which file is being requested, but I can't see it being so easy for a program or whatever to do, I'm guessing it'll need to have a search feature where it picks out the most likely file.I'd like it to be as automated as possible. I receive the txt file, make sure each file name is on a separate line then a program or script or whatever goes out and picks out the files (or most likely files for the name's that aren't exact matches) and copies them into a brand new folder (which I'd like to be the same name as the text file it's using to choose the files).
View 5 Replies
View Related
Jun 26, 2011
I have a computer with three partitions, the first with 100GB exclusively to Windows 7 (already installed), a partition for applications and another partition for personal files (photos, text, music, movies, etc.). I wonder how to configure the location of "My Documents", so that all users have only their personal files on drive of personal files. In Windows Explorer changed in each of the users the location of the Documents, Music, Video and Pictures.
- After changed the location of the folders above, there is still the same folders in C:users , and there are user settings that are there defined, eg Desktop, in C:Users. Is there any way to move all settings and folders to another drive?
- Is there any way to do this operation automatic? for future users I will have to repeat the same operation, how can I indicate that all future users will have their settings and documents specified in this specific drive?
I installed some applications and found that some applications did not demand that the location where it was set to be installed the application, having been installed in C:users and C:Program Files, intended that all applications (except for windows and Office) were installed in drive applications. How do I specify that this is the default drive for installation applications? Keeping the installations of Windows + Office in this drive. Applications installed by the administrator are available for all users or must be given access to other users ? How done? In the drive file, which should contain the users and shared files, meant that each user only gets access their documents and shared. Where and how can make this configuration?
View 3 Replies
View Related
Oct 30, 2010
How to create a batch file that will move files based on the file type?My Requirement : I need a batch file to copy all .doc files in all my HardDisk to aremovable disk say (Z: drive) . Can anyone make it possible using a batch file
View 4 Replies
View Related
Nov 1, 2012
I recently installed BitDefender and it wouldn't open. Their support stated I had a csrss.exe trojan file. Task bar shows there are 2 of this file running. However, properties tab shows both are in win 32 and both have same file version number and publisher is Microsoft. One version shows about 1 mb and the other 5 mb use with 0 cpu. PC runs fine other than BitDefender, previously Norton Security Suite had been running fine with it and Avast installed and opened without issue.
View 4 Replies
View Related
Dec 11, 2012
I get the BSOD while seeding in uTorrent mutliple files. I have a stable notebook, never got an issue for years. Occasionally get some BSOD, but for reasons, now I have BSOD i cant explain for myself. uTorrent can seed for some time, but if I leave it ,i find it with the following BSOD. I doesnt do it right away, after sometime. check screenshot.
View 1 Replies
View Related
Oct 9, 2011
Is there anything similar to Mac OS X Airdrop to wirelessly transfer files between two computers running Windows 7?If possible without an internet connection, but I'd still be fine if it requires one, since one of the computers doesn't have a wireless card.
View 2 Replies
View Related
Apr 25, 2012
The computer is Windows 7 Professional 64-bit edition version 6.1 Build 7601 service pack 1. The computer is not in a domain environment. I believe this may be a security issue however I completed an in-place windows 7 upgrade to try and fix the problem but after all of the windows updates, etc the error remains and appears every time the computer is rebooted..[code] The relevant status code says that the "Object already exists" which I think is far more relevant then some memory issue. Do I have to delete some file or registry entry? Or is it a security issue?
View 1 Replies
View Related
Aug 9, 2010
I keep getting this error when trying to install and exe I have tried safe mode and system restore but can get no joy I get this error message when I try system restore.
View 9 Replies
View Related
Dec 22, 2010
how to get into recovery environment upon booting up .I'm facing a boot mbr problem when installing a new os on a hd on a removable hdisk drawer. i were told to write new boot procedure at recovery console prompt but i do not know how to get into recovery environment on bootup.
View 6 Replies
View Related
Mar 18, 2011
run Windows 7 Enterprise in a Server environment. Windows Server 2008 costs more than double, and both OS'es have their own IIS manager for deploying websites.
All the server roles available in Windows Server 2008 will probably not be used. So is there any downside in using Windows 7. Please be thorough in why or why not Windows 7 should be used.
View 16 Replies
View Related