0
votes
0answers
17 views

what cygwin packages do I need to install to be able to run commands from cmd.exe on windows?

I am trying to install JSCover http://sourceforge.net/projects/jscover/files/JSCover-0.2.0.zip/download, I snooped around and figured that to run .sh files on windows easiest option is to install ...
0
votes
0answers
15 views

robocopy using parent folder name

I have a small batch file that uses robocopy to backup a folder. The intended action is for it to copy C:/users/public/ into D:/Backups/YYYY-MM-DDTHHMM/ At present, it copies the files into a folder, ...
0
votes
1answer
22 views

How do you export Windows 7 AQS search to file? [duplicate]

My question is identical to this question that has already been asked back in 2011, but that does not have any answers: Export Windows 7 Advanced Search Results to Text File I'm hoping that someone ...
0
votes
0answers
37 views

Batch file - Copying folders with percentage

I'm currently trying to create a batch file, which actually copy a folder from a server to a clients machine. And I'm playing around with batch file, using xcopy, and it gives me the percentage of ...
0
votes
0answers
18 views

Windows compact /s /u command runs forever on deep directories greater than MAX_PATH

I ran the command compact /U /S /I /Q > status.txt on a large deep directory and after it ran for over 24 hours I decided to investigate whether it was hanging. It turned out that meanwhile the ...
0
votes
0answers
24 views

How can I list all files recursively that have the compressed attribute set?

I started a decompress operation using compact /U /S /I /Q > compact-report.txt on a large dir (120GB+, ~950M+ files) and it has been going on for about 24 hours now. Most files seem decompressed, ...
1
vote
0answers
31 views

Windows command line - accessing of remote windows server folder

I am logged in a Windows 7 and was trying to access the shared folder located in a Windows server 2008. I can successfully map the network drive with the URL: \\\ServerName\DavWWWRoot\Shared ...
0
votes
1answer
36 views

How to access cmd of another computer from my computer's cmd?

How can I access the Command Prompt of another computer from my own computer's Command Prompt in Windows7? I am hoping that I can do something like that into a batch file: Enter \\ComputerA -u John ...
2
votes
2answers
108 views

Administrator getting “access denied” - unable to create directory

As far as I can tell, I am in the Administrators group on Windows 7 Service Pack 1. With CMD prompt pinned to my Start menu, I rightmouse and select Run as Admin and get this error on xcopy: ...
1
vote
1answer
29 views

Using Bluestacks to run an android app directly from Windows command line or Desktop Shortcut

After installing Bluestacks is there a way of launching an android app without going through the Bluestacks interface? Is there an API or something that would allow this? Actually I found where it ...
0
votes
1answer
44 views

How to rebuild a Windows Image (WIM) using ImageX tool?

I've previouslly mounted a WIM image using DISM where I've removed some packages and then I've unmounted it commiting changes, and now I would like to rebuild the WIM file to save filesize and ...
1
vote
0answers
25 views

Windows7 command: set http_proxy and bypass

I am sitting behind a company proxy. To start vagrant i had to use set HTTP_proxy=http://http-proxy.example.org:9999 i tryed using netsh winhttp but that didn't work. So now my command line uses ...
0
votes
1answer
23 views

Run script from powershell in the same window

I have installed PHP and PHPUnit in my PC. Both of these files are in same directory and I have added to enviroment variable path. I have also associate .phar extension to run with php.exe ...
0
votes
3answers
47 views

How can I add a program path to the Windows environment variables for easy command line access?

Let's say I want to add the following path to the Windows environment variables: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe Such that I can simply type the following from a command line without using ...
1
vote
1answer
19 views

command for restart system properly making it ask for save/close open applications

I'm trying to edit a notepad's .txt on the desktop, and then restart: normally, when I press the restart button from the start menu, it allows me to save the .txt file: and then it shows me the ...
0
votes
0answers
18 views

Environment Variable ORACLE_UNQNAME not defined

I'm trying to install Oracle 11gR2 Entreprise Edition but during database creation, I got this Error : Environment Variable ORACLE_UNQNAME not defined And when I tried to lunch 'emctl.bat' From ...
0
votes
2answers
41 views

Use 'IF EXIST' command with '<' operator

I use a .cmd file (under Windows 7) to move large numbers of scanned PDF files from a 'quarantine' folder to their eventual locations. The PDFs have file names running from TA500xxxx.PDF to ...
0
votes
1answer
35 views

I'm trying to run a batch file that test for 4 different files then based on the correct file present it runs the correct command

:: batch file to run backup @echo off setlocal set backup1=="F:\my backups\Disk_1_DataBAckup" set backup2== "F:\My backups\2_backup_data_to_disk2" set backup3=="G:\my backups\3_backup_data_to_disk3" ...
1
vote
2answers
58 views

How to copy a file into folder and all its subdirectories

I found some topics on superuser which helped me, but I'm still stuck at some place. I found out that to copy file through command-promt I can use: Copy index.html forms. But this command copies ...
0
votes
1answer
47 views

How do I replace the windows explorer shell with some image during boot?

When I start the computer instead of opening explorer.exe I need to put some image or blank screen. In registry if I change shell value in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon ...
0
votes
0answers
39 views

How can I import a security template in Windows 7 using command line?

I would like to remotely deploy some specific change in Security Policies to several computers via remote console (SSH). This is my just exported security template .inf file, extracted according ...
0
votes
0answers
20 views

How to change keyboard layout by command line

I'm using a software ChangeKey to reassign keys like CapsLock to Ctrl in windows 7. The software is GUI based, if I can change the key assignment by command line, it become much easier to setup new ...
2
votes
1answer
60 views

Disable close button on DOS program in Windows 7

At my company we have stores that run some old DOS software. Before Windows 7 you could run these programs in full-screen and now you cannot. I know there are work-arounds to get in full-screen ...
1
vote
2answers
41 views

Auto rotate scanned text image (OCR via command line?)

Can I auto-rotate an image that contains mainly text? Maybe via OCR? The algorithm or whatever needs to scan the image and decide if it has to rotate it 90°, 180° or 270° I want to include this ...
1
vote
0answers
43 views

Nested environment variable does not expanded

I can't explain the below strange issue. I have two system variables: PYTHONHOME = D:\Tools\ISDC_Tools\Scripting\Python.2.7 PYTHONPATH = %PYTHONHOME%;%PYTHONHOME%\Lib After creating a new cmd ...
0
votes
1answer
35 views

ControlC doesn't stop .cmd script in Windows7 CMD window

I work with several Windows7-64 systems. In all but one, typing ^C into a CMD window running a .cmd file, invariably (and expectedly) stops the program. More importantly, if the .cmd script launched ...
1
vote
2answers
25 views

Is it possible to modify (or create) an scheduled task in Windows command-line to remove the need for user login?

Is it possible to change, by using command-line, this first state in my Windows Task Scheduler (sorry, my Windows is in spanish; look for translation on the bottom): to this other? Only ...
0
votes
1answer
33 views

(Windows Powershell) How to open a globally defined file with a certain application?

I've added the C:\Windows\System32\Drivers\etc\ directory, which contains the windows hosts-file, to my PATH environment. So if I start the shell at some arbitrary location (C:\ for example) and ...
20
votes
12answers
2k views

How do you open the command prompt in Windows 7 with a shortcut key?

Is it possible to open the command prompt with Windows 7 with a shortcut key, and if it is, how do you do it? I know that I can assign a shortcut key to it, but does Windows come with a shortcut key ...
5
votes
1answer
56 views

Why can I create a remote directory through Windows Explorer, but not from the command prompt?

I'm using Windows 7 and have a remote folder available. Let's call it \\mycompany-portal\somefolder\attachments. I can map a network drive to the folder root, so Z:\ points to \\mycompany-portal. I ...
1
vote
1answer
78 views

Files modified outside Daylight Saving Time show Standard Time in Windows 7 Explorer

I have Windows 7 Professional, with automatic updates (so all patches should have been applied). I am in the EST/EDT time zone (New York). The Control Panel time box has "use DST" checked. DST just ...
1
vote
1answer
26 views

Launch Script for Windows7

Hey guys hopefully I can thoroughly explain what I'm trying to do here! LOL I have a dual display Windows 7 PC and what I am trying to do is launch 2 different programs on boot, and I want one to ...
1
vote
1answer
124 views

run .hta as adminstrator

Simple question how do you run a .hta file as an admin? When I try running runas /user:Grants-laptop\administrator computerinfo.htafrom command line I get this error: RUNAS ERROR: Unable to run - ...
0
votes
3answers
95 views

How to delete directory named “..”

On windows 7 I'm having this issue deleting a folder named ".." I have a folder names ".." located on my desktop When I run in the CMD the command as follows: rmdir /s ...
3
votes
2answers
189 views

Error in command line “The system cannot find the path specified.”

Not sure what I did but since past 5 weeks but I am getting this error The system cannot find the path specified. when I run any command or start cmd. Here is what I get when I start command line: ...
3
votes
1answer
30 views

How to get the status of 'need to be restarted' of Windows 7?

I need to get the status of the below restart-wanted icon as in the snapshot from command-line; so that I can make Windows 7 keep restarted until no such restart requirement still exists. How can I ...
0
votes
0answers
34 views

Using Beyond Compare to diff images on Win 7 command line

Can I use Beyond Compare on Windows 7 command line (cmd or Cygwin) to compare 2 images' content (their file format could vary, so I can't use a byte comparison) in a batch file? If so, how do I ...
0
votes
0answers
12 views

Network Permissions, Traversing Folders, Command Line

I am trying to delete a text file from my command line in a directory that exists in a Failover cluster in a Windows 2008 R2 server, to which I am connected over my corporate network. I have all ...
0
votes
1answer
34 views

Windows explorer connect to ftp through CMD

I want to connect top FTP in the windows explorer like: CMD> explorer ftp://example.com This works but promts the username passwords. Is there a way to automaticly fill these in? I want to skip ...
1
vote
0answers
35 views

How to list all apache modules in windows command line? ( WAMP installed )

I have WAMP installed and I would like to list all Apache modules using this command: httpd.exe -l but when I hit enter, list of modules ( as far as I could read ) appears and disappears quickly ( ...
2
votes
1answer
48 views

How do you open a window and push it to the right from the command line?

I'm using autohotkey on Windows 7, and I bound Ctrl+Alt+T to the command run powershell.exe -noexit -WindowStyle Maximized, which works, but I am partial to using powershell when it is pushed to the ...
0
votes
2answers
89 views

'SELECT' is not recognized as an internal or external command

I'm trying to apply a wmi filter to a group policy using this command: Select * from Win32_Processor where AddressWidth = '64' This will only apply the GPO to 64 bit machines (all of our machines ...
11
votes
2answers
748 views

How do I get a right-click command line for a folder? [duplicate]

I want to be able to right click on a folder called (C:\myFolder) and have a command prompt open like this... Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All ...
2
votes
1answer
85 views

How to avoid mkdir path redirected to SysWOW64

I'm tring to create some directories (dirs) using a .bat file. At the cmd.exe, I can create the dirs normally, but when runing the commands inside a .bat file, for some odd reason, the dirs are ...
1
vote
2answers
94 views

why cant we maximize the command prompt but whereas we can run the powershell maximised

According to this answer windows command prompt cant be maximized, but what makes the windows to view maximizing through powershell, what does the difference while maximizing in windows powershell and ...
1
vote
1answer
44 views

Command to toggle IE browser proxy in Windows 7?

I need to toggle proxy on and off as quick as possible. We can use IE Proxy Toggle is is virus-free scanned to do this but I'm looking for a built-in command-line for it. What is the command line ...
1
vote
2answers
279 views

Strange PATH issue in Windows 7 - goes null after being set

I have some sort of a problem with the PATH system variable. Since I use a lot of cmd apps and scripts I've added a lot to it. But the string's length is not the issue. I've worked around this ...
0
votes
3answers
104 views

Get administrative right in windows command line [duplicate]

I am not trying to do cheeky things, but my need is just to have two scripts for adding or removing IP routes using the following command in batch scripts: Add route: @echo off route add -p ...
0
votes
0answers
25 views

The “Command Prompt” commands in system recovery options

Consider my windows has failed to start normally and I only can go into the System Recovery Options. I want to use the Command Prompt at Startup to repair the Windows 7. Now what commands (except for ...
2
votes
1answer
44 views

Windows: Remove the wallpaper using the command line

Is there a command to remove the desktop wallpaper and use a solid color?