0
votes
0answers
15 views

Why is “setx” not setting my path properly?

So I use this command: setx path "C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x 86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Win ...
0
votes
1answer
9 views

Windows 7 path not being set

I've read an followed all stack overflow, super user, etc. instructions multiple times, and my GUI window shows the path to be what I want, i.e., python27. However the cmd prompt shows several lines ...
0
votes
0answers
16 views

Changing 'syskey' password using Command-Line

As far as we know, We can change windows account's passwords using the below command in CMD windows (With a user that have administrator privilege) : net user TheUserName NewPassword Now, I want to ...
0
votes
1answer
34 views

Windows Batch - Move files to folder parent & Remove empty subfolders

I found several such questions and tried to adapt the answers to my needs but no luck so far. Im trying to create two context menu entries in Windows 7 that would: Move all files from ...
-3
votes
0answers
23 views

When deleting file I get this msg [duplicate]

by Erase Command : C:\important Folders\pentest\bluetooth\blue-smash\vcards>erase "c:\important Fol ders\pentest\bluetooth\blue-smash\vcards\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ...
4
votes
3answers
116 views

Use DOS batch to move all files up 1 directory

I have created a batch file to be executed through the right-click menu in Win7. When I right-click on a folder, I would like the batch file to move all files (excluding folders) up 1 directory. I ...
1
vote
1answer
50 views

How can I move files into a folder based on their name?

I have several .pdf and .tex-files in a certain folder "ABC". They all are named by the scheme C01S02_Word.pdf C03S02SS01_Description_random_words.pdf C04S01SS02_More_words.pdf and so forth C in ...
0
votes
1answer
50 views

Administrator user receive Access Denied and Need Permission

I want to move a file that is named resmon.exe from C:\Windows\System32 to D:\. While I logged with an Administrator user, but I can't move it and I receive something like Access-Denied! As you see ...
0
votes
2answers
94 views

Make “System” process not modifiable from Task Manager like it is the case in Windows 8

FYI : I have Windows-7 Ultimate Ver 6.1 Service-Pack 1. There is a tools in the Windows-7 that called Resource Monitor . You can find it in C:\Windows\System32 directory or you also can simply run it ...
0
votes
2answers
54 views

generate a list of devices installed in a PC through command line

I want to generate a complete list of devices and drivers installed in a PC which includes the serial number or id of the device through the command line driverquery /v /fo csv > drvlist.csv i ...
0
votes
1answer
26 views

How to access Java JARs through CLASSPATH environment variable on Windows 7

I know there is this article on JAR files on Linux but the solution involves some Linux specific commands I don't know, and ultimately I'd like to understand if I can access my JAR (and JARs it ...
0
votes
1answer
53 views

defrag command line in Windows 7

I'm trying to consolidate my system partition volume by running defrag in a command prompt in command line recovery mode. This is the command I'm trying to have executed: defrag C: /X /H /U After I ...
0
votes
0answers
28 views

Navigating explorer.exe through command line

I am trying to write a program which can make navigation to a particular file easier. I am using windows 7, if I write the command explorer.exe c: in the command prompt it opens c drive, but ...
0
votes
1answer
50 views

DOS command to remove file_001.* copies, but only if file.* exists

Didn't find the answer, hope it has not already been answered here. I have a tree of directories containing files and sometime a copy at the same location. This copy is identified by some string, ...
3
votes
1answer
54 views

Using grep on URLs not working

I've got a couple of text files (a.txt and b.txt) containing a bunch of URLs, each on a separate line. Think of these files as blacklists. I want to sanitize my c.txt file, scrubbing it of any of the ...
0
votes
2answers
48 views

How to redirect the output of a FTP recursive listing to a local file with Windows 7 FTP client?

When using the DOS command FTP in Windows 7, I can use this FTP command to list recursively all files of the remote directory: ftp> ls -R I cannot get the output of ls -R to a local file, FTP ...
0
votes
1answer
24 views

Trying to mass replace files from one directory to where the file is found in another. Windows 7

I have 200+ files in a single directory that I need to first search for in another directory with subs and replace after it is found. File names are the same. Content/size is usually different. Last ...
0
votes
0answers
26 views

Take Command (command prompt replacement): Frozen session tab with “ERROR: The file is either empty or does not contain the valid choices.”

UPDATE: I can faithfully reproduce this error with a minimal Ant build. Check out this video. The two files are pasted at the bottom of this question post. As posted on the Take Command forum, I am ...
1
vote
0answers
32 views

Applications and .bat script get locked in Windows 7 for some minutes

I am playing around with Windows batch scripts and simple C++ applications on a Windows7 64Bit PC. The problem I am facing is that I cannot modify neither the batchfile nor the mingw-exe for minutes ...
0
votes
1answer
32 views

Is it possible to toggle disabled/enabled devices from Command Line, simlar to Device Manager?

I like to play Fallout 3 which is very buggy normally, and even more so once I've added some mods. Needless to say, it crashes a lot. I can deal with the crashes, the only problem is when it does my ...
0
votes
0answers
84 views

View hidden files/folders on windows phone?

I have a Windows Phone, and when I connect it to my pc, I can only see files such as music, pictures, music, etc. I already enabled the ability to see hidden files, but I still can only see the ...
0
votes
2answers
49 views

Accidently deleted PATH environment variable - how do I get it back? [duplicate]

I had to add the JDK path in the system variables which is under environment variables, but by mistake I deleted the default path which was present in the Path and pasted the JDK path. So how do I ...
-1
votes
2answers
73 views

WIN7 CMD how to create command to open text files in selected editor

Is there a way to create a command in Windows 7 command line to open some text file in selected text editor? E.g. pspad "text file location" that will open text file in PSPad.
0
votes
2answers
63 views

copying file from UNC path to startup folder on Windows 7 machines

I have sucessfully figured out how to copy a file to "\machinename\C$\ProgramData\Microsoft\Windows\Start Menu\Programs\startup" however I want to run this as part of an existing startup batchfile. I ...
0
votes
1answer
37 views

Windows command-line installers used by some programs: problems showing syntax and parameters

As time goes by, it is (fortunately) more usual to find command-line installers for most Windows GUI programs, so you can make batch and offline console installations. But sometimes I have found a ...
1
vote
0answers
53 views

.exe files wont close with task manager or command prompt - Windows 7

This is happening with my video game DayZ StandAlone and Google Chrome Browser and a few other programs. But I will close the program normally and it will appear closed until I check Task Manager. (I ...
1
vote
1answer
42 views

windows cmd - return first 3 files of a search

Searching to return the 3 most recently modified files of a particular extension. The search is simple: C:\> dir /od .zip "C:\Users\foobar\Desktop" Other solutions employ creating temporary .txt ...
1
vote
1answer
81 views

Windows theme resets everytime computer is restarted after registry modification?

I had gotten bored one day and changed the colors/fonts of the command prompt, then finally i wanted to, undo this and change the color/font scheme of the windows command prompt cmd.exe back to the ...
1
vote
1answer
46 views

Modifying the System Path variable from cmd

I am trying to modify my system Path value. I need this as I am doing an upgrade of the S/W and the users need to have access to the old and new system. I provide them with a toggle button which will ...
0
votes
0answers
57 views

Windows 7 dns resolve problems (mostly cmd)

More about the situation: I have my dns set to 8.8.8.8 and 8.8.4.4 so these are probably fine communicator (skype/facebook chat) and all four web browsers in my system have no problem with dns ...
0
votes
2answers
39 views

CMD Command - Timer to acess a website

Anyone knows if its possible to add a timer do this command? I want to access a certain website in my default browser minutes after typing. start "" "http://superuser.com/" This worked but it ...
-1
votes
1answer
84 views

regedit command results in “access denied” in cmd

Edit: The issue at this point is that a regular user is granted access to the registry and there is no prompt for administrative credentials whatsoever. Prior to changing permissions (See Scott's ...
0
votes
3answers
79 views

windows command prompt change directory is now changing directory

I am trying to change directory from C drive to E drive. but the its not happening through following code. C:\>cd E:\Program files\wkhtmltopdf C:\>echo %cd% C:\ It says C:\ is current ...
1
vote
1answer
42 views

Windows 7 Change Power Settings Via CMD Line

I want to change some of the settings via the command line. i found this resource which helps http://technet.microsoft.com/en-us/library/cc748940(v=ws.10).aspx but it doesn't explain how to set a ...
0
votes
3answers
297 views

Windows 7 Turn off System Restore Via Command Line

Im trying to turn off System restore via the command line. This is the command im using Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /V DisableSR /t ...
0
votes
1answer
28 views

Could someone explain me the concecpt of “Recursion” in the context of the FORFILE Command (batch)

i'm having some trouble to understand the concept of recursion while reading the explanation for the FORFILE command. for the parameter /s it says in the reference: /s: Instructs the forfiles ...
0
votes
2answers
147 views

Using FORFILES to delete Folders older than 2 days

here is what i'm trying to do: Use the forfiles Command in a .cmd script to delete folders from a specified path that are older than e. g. 2 days on a win7 machine. Edit: The Situation is the ...
0
votes
2answers
24 views

to check ram utilization by an executable when called using command prompt

I have created an executable which takes just 5 ms to execute.I want to know the RAM utilized during the execution of this executable.I am calling the exe from command prompt to execute.I tried using ...
0
votes
1answer
30 views

CMD FTP Issues Works on Server 2012, Not on Win 7

I have the below command script running as a scheduled task on my Win 2012 Server without any issues. I want to replicate this on a clients Win 7 x64 computer. echo user [username]>> ...
0
votes
1answer
33 views

Cisco Router - Windows 7

I have never used a Cisco product and have hand my but handed to me trying to use set it up. We have a second hand Cisco router 1900 series(1941). I have connected the router via the light blue and ...
0
votes
0answers
41 views

Can I directly specify the file name for fsquirt.exe and have it sent instantly?

Because modern mobile phones do not seem to work with my bluetooth software as Nokia did, I'm using microsoft's fsquirt.exe utility. I had tried to upgrade my notebook's bluetooth software but most ...
1
vote
0answers
77 views

How do i add command to my batch file to go get a screen shot of a webpage and return and save to my desktop?

I'm just learning about batch files and such, and I have been googling round and round trying to find how to create a batch file with a command that will go to my youtube page link and take a ...
0
votes
0answers
23 views

Set cmd prompt at start of session? [duplicate]

I wanted to modify my cmd prompt on Windows to more closely resemble the prompt I use in Linux and OS X. With some experimentation, I found that entering the following line of code at the start of a ...
0
votes
0answers
137 views

Run schedule task while logged off using command line on local machine under windows7

I'm tryig to run this batch file: schtasks /create /SC once /ST 23:00 /tn "batch2" /tr "c:\windows\system32\schtasks.exe /run /TN "Acronis\backup_to_disk2" /ru "WORKGROUP\Tps02-PC$" rl/ highest ...
0
votes
1answer
33 views

Is it possible to see what commands a program is executing?

I have a Windows GUI program, that upon startup, launches cmd.exe and I would like to know exactly what commands are executed within the command shell. I know cmd.exe is executed as soon as the ...
0
votes
1answer
82 views

How do I rotate an image clockwise using the Windows command line?

Is there a way to rotate images stored in folders clockwise so they can be changed from Landscape to Portrait using CMD or Powershell? If there isn't a way to do it then please let me know. It might ...
1
vote
1answer
95 views

Ctrl-C not killing process in CMD.EXE

I've had this issue for a while even after reinstalling. Issue happens after I reinstall all my programs and not in a fresh Windows install (obviously). Might have to spin up a VM and install each ...
2
votes
2answers
55 views

How can I run msiexec from cygwin to unpack a msi?

I need to unpack (not execute, unpack) a msi in a cygwin makefile. If I invoke from the windows command prompt the following msiexec /a package.msi /qn TARGETDIR=C:\foo The package is correctly ...
0
votes
1answer
56 views

Windwos 7: Registry Files… Incorrect

Issue Summary I messed up a couple values in my Windows Registry, I know which ones, I am having a hard time changing them back. Issue I was trying to change the default location for program ...
1
vote
0answers
46 views

How to perform this Windows 7 permissions change on many files via GUI or command line

After using my external hard drive on another Windows 7 computer to tweak photos with Windows Live Photo Gallery then upload them to Facebook I found the modified images were now not visible on the ...