All Questions
Tagged with command-line windows-7
220
questions with no upvoted or accepted answers
5
votes
1
answer
642
views
Command prompt uses 4x6 font for non-1 sessions, 8x12 unavailable
I have a proble with Windows 8. If the current user session isn’t the first session started after a cold boot (basically meaning a restart in Windows 8), the console windows use very tiny 4x6 terminal ...
5
votes
1
answer
6k
views
How to add files to specified folder in archive with 7zip command line
I have folders and files on my disk
C:\builds\main.exe
D:\components\a\testa.exe
D:\components\b\testb.exe
D:\components\c\testc.exe
D:\dependencies\abc.dll
Can I create an archive with 7z command ...
5
votes
1
answer
8k
views
Command to see what version of HDMI
Is there a windows command to determine which version of HDMI specification is available/implemented on a given video adapter or other HDMI information?
Software utilities are also welcome.
Similar ...
4
votes
1
answer
11k
views
Batch execution error "not recognised as an internal or external command"
D:\temp\copyTXT.bat is a simple script containing:
XCOPY /v D:\temp\MyFile.txt D:\Documents\
Executing the script fails, flashing a window for ~100ms, then does nothing (no copy at all), but if I ...
4
votes
2
answers
5k
views
Windows: Remove the wallpaper using the command line
Is there a command to remove the desktop wallpaper and use a solid color?
3
votes
0
answers
667
views
Windows Explorer crashes if I click a specific file generated by Visual Studio
I have this .dll file I just can't delete:
C:\Users\Alisson\Source\Repos\portal-do-guitar-flash\PortalGuitarFlash.Web\obj\Debug\PortalGuitarFlash.Web.dll
I have admin rights and the only way of ...
3
votes
3
answers
4k
views
Batch file won't run as administrator unless via cmd prompt
I'm trying to write a batch file that will turn Apache off and copy some files. This is all I have in the script at the moment:
"C:\Apache24\bin\httpd.exe" -k stop
If I either run the batch file ...
3
votes
1
answer
769
views
Windows 7 command promt number of buffers and buffer size
In Windows 7, the Command Prompt has two configuration options called Buffer Size and Number of Buffers found in the Options tab. Following these instructions, I've tweaked these two values to ...
3
votes
0
answers
4k
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 ...
3
votes
1
answer
3k
views
CLI stopped working when running php artisan serve - Laravel 4 Win7
I added a path to my environment variables : C:\wamp\bin\php
When I run the command php artisan serve it says
Laravel development server started on `http://localhost:8000`
But after that a dialog ...
3
votes
0
answers
1k
views
How to reload windows color settings after change of registry key?
I've got a little question regarding the color settings in windows 7:
Via Desktop-Right-Click -> Personalize -> Window Color -> Advances Settings
I'm able to change the color of the selected items. ...
3
votes
1
answer
1k
views
Telnet trouble on Windows 7 Ultimate 64-bit SP1
I'm trying to connect to a Telnet server. After typing 'telnet [server] [port]', I get a blank command prompt screen. I can then type Telnet commands, but everything I type is invisible.
Replies sent ...
3
votes
2
answers
254
views
Virtualization of multiple command line tools
Short Question
Has anyone had success virtualizing multiple command line tools in Windows?
Background
In a previous SU Question I asked how to setup isollated work envrionments. The over all ...
2
votes
2
answers
2k
views
Unable to change default program to open a file from cmd
Once I thought, what can happen if I open the CPP file with cmd. I thought it will work similar to the type command in cmd, but when I understand it isn't, I wanted to change the default program from ...
2
votes
1
answer
225
views
Why is my cmd.exe in windows 7, opening with Administrative privileges?
Why is my cmd.exe in windows 7, opening with Administrative privileges. (I won't say Running "as Administrator" 'cos i'm aware that Win7 "Run As Administrator" option, runs it with ...
2
votes
0
answers
5k
views
Automating Chrome command line print website to pdf issue
I would like to save bunch of websites stored locally on my hard drive as pdf, and when I am doing this by choosing menu > print... > save as pdf it works, but when I am trying to do this via Windows ...
2
votes
0
answers
376
views
Working with source files while Robocopy is running
I need to make a backup of my entire Users folder from within Windows, but I also really need to be able to use my computer normally. I'm planning to use Robocopy for this purpose, and want to clarify ...
2
votes
0
answers
1k
views
How can I open the Windows Media Player interface with task scheduler
Since my waking clock is broken I want to use my computer, and I managed to make it launch a music through task scheduler, but I would like the interface to show when the task is being run, but ...
2
votes
0
answers
408
views
Windows 7 cmd window codepage
I have weird situation with cmd window codepage on windows 7(32bit).
Since I need codepage 852 this was installed together with windows. Additionally, for DOS programs entry KB16 yu,852 is added in ...
2
votes
0
answers
2k
views
Can't get screen resolution through WMIC on fresh Windows 10 installation
Running wmic desktopmonitor get screenheight, screenwidth in Windows' command prompt should return my screen's height and width, however when running that command on my fresh Windows 10 install, no ...
2
votes
0
answers
6k
views
What settings are being modified when you change the resolution on the desktop monitor for the first time?
I have a web UI running on a box that can change the desktop resolution on windows 7. To do so, it shells out to qres. Pretty standard. I have its HDMI out port going into a GEFEN HDMI detective plus, ...
2
votes
0
answers
77
views
What are the underlying Windows7 mechanics that are responsible for opening selected files via key 'Enter'?
I need to create a batch script that opens n files, of same type and same suffix, with program p,
without creating n instances of p (i. e. use multiple tabs instead of multiple instances).
For some ...
2
votes
1
answer
80
views
On command line, how to apply other context-menu operation on a file than default open?
With the start command in a Windows command line it is possible top apply the default context-menu "open" operation on a file, like:
start file.pdf
But the Windows context menu may define other ...
2
votes
2
answers
6k
views
cmd.exe error windows 7 the application was unable to start correctly (0xc0000142). Click ok to close the application
when i try to open the cmd.exe. a box pops up with the message of cmd.exe error windows 7 the application was unable to start correctly (0xc0000142). Click ok to close the application.
my pc was ...
2
votes
0
answers
1k
views
Pipe a list of files into vlc and mpc
I'm trying to pipe a list of all my files that start with "m" in my music folder. This line grabs all of my filenames correctly. I'm using windows 7 command line.
dir /s /b | findstr -i -r "\\m[^\\\\]...
2
votes
1
answer
6k
views
Changing Visual Effects settings through command line
Is there a way to change/modify the Visual Effects settings via command line? For example, I want to control (enabling and disabling) on Animate windows while minimizing and maximizing option from ...
2
votes
1
answer
65
views
check and warp newest files added
How am I going to automatically check all the files that were added to the directory and then warp it immediately?Because everyday I am downloading hdf files and warping it from time to time is a ...
2
votes
1
answer
1k
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. I'm trying to create two context menu entries in Windows 7 that would:
Move all files from subfolders in ...
2
votes
1
answer
365
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 ...
2
votes
0
answers
1k
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 window,...
2
votes
0
answers
2k
views
What is the command line to start a gadget in Windows 7?
I need to make sure that some Windows 7 gadget is running at a specific time of day (10am) for an user.
Surely, I can start it once and let it run forever, but the user may accidentally or ...
2
votes
0
answers
706
views
How to change input method when using command prompt?
There are several input methods like Chinese, Japanese, or Russian.
But, when I change code page into 65001 (UTF-8), I can only type English.
How to change input method when using command prompt ...
2
votes
0
answers
2k
views
Windows batch "rmdir /s /q" empty a folder but it is still there (but 0KB) and can't access
I use Windows 7 x64. I have a svn checkout Working folder, say "Working".
When I use a batch file or just open CMD, I did
del "%currPath%\Working" /s /f /q
rmdir "%currPath%\Working" /s /q
The ...
2
votes
0
answers
687
views
How can I modify the BAT file in this post so it will randomly select 1 background contained in a folder containing multiple backgrounds?
Is there a way to modify the bat file from this post here: How do I set the desktop background on Windows from a script?
so that it will randomly select 1 background image from a folder containing ...
2
votes
0
answers
653
views
Preventing Windows Update from updating a certain driver via command line/script?
I work as a part-time system administrator and recently (in the last few months), we've been experiencing BSODs on almost all PCs in our group. We do know that most of these BSODs were caused by a ...
2
votes
0
answers
209
views
Open in Command line doesn't work anymore since the last windows update
Since the last Windows update (2013/11/12), this doesn't work anymore on Windows 7 64bit:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd]
@="Open cmd here"...
2
votes
0
answers
1k
views
Error 10053 using composer
I need to use Composer in my wamp server on a windows 7 machine but I keep on getting a 10053 error.
For example when I try to install laravel I get the following message:
[Composer\Downloader\...
2
votes
3
answers
3k
views
Windows 7's compatibility mode set to Windows XP SP3 for an executable from the command line and bypass User Account Control Prompt
I'm trying to package an application called Boss and it's intended to be deployed through SCCM 2012 and seems that it's an old Windows 2K application so it doesn't has all the properties I wish it ...
2
votes
0
answers
2k
views
Start/stop services from command prompt under non Administrator user, but belonging to administrators group
I have a WIN7 computer with user which is in Administrator group. Let's call it MyUser.
UAC turned ON.
I have several services launched under local system.
When I'm trying to start or stop these ...
2
votes
0
answers
6k
views
DNS Server not authoritative for this zone in windows Command Prompt
Every time I try and enter a location on my computer through the command prompt,
e.g. C:\Users\Owner\workspace\swarm
it keeps returning with "DNS Server not authoritative for this zone", what ...
2
votes
0
answers
1k
views
Recovering drive via boot to Win7 setup command prompt
I am trying to recover data from two old IDE drives. Drive1 has been successful, but something is wrong with Drive2. It does not appear as a drive letter.
Due to limited legacy hardware, the only way ...
2
votes
1
answer
682
views
How do you assign a shortcut key to Command Prompts so that it can open multiple windows?
On every Windows machine that I've ever owned (or used at work), I've assigned a Shortcut key to open a Command Prompt window on entering the shortcut key.
If you enter this shortcut key several ...
2
votes
0
answers
17k
views
How do I install/uninstall drivers from CMD in windows7?
Recently I had to change the motherboard(different manufacturer and chipset) on one of my computers and now windows 7 wont start.
I would like to avoid reinstalling windows from scratch since it would ...
2
votes
1
answer
1k
views
Updating BIOS, won't recognize battery is plugged in
I have a Dell Inspiron E1505 running Windows XP. I am trying to upgrade to Windows 7, but it tells me I first need to update my BIOS.
I downloaded the BIOS file and have tried running it, but it ...
2
votes
1
answer
3k
views
Windows task scheduler not running batch file on network drive
I have a batch file that I'd like to run with the Task Scheduler. Running the batch file manually works fine. If the batch file resides on the C:\ drive, task scheduler runs it fine, but if the ...
1
vote
0
answers
685
views
how to prevent Windows OS password resetting methods e.g. utilman.exe
I came here because topic is serious about my windows system, here is last day somehow I abled to reset my windows password by doing..
This Windows Commands
Using bootable Windows OS Open Commands ...
1
vote
0
answers
738
views
Windows 7 VM error VERR_PATH_NOT_FOUND cmd
i have a windows 10 host and windows 7 guest, but every time i enter this command with or without the -partitions argument i get errors
for context, i'm using an elevated PowerShell and an elevated ...
1
vote
1
answer
1k
views
How can I see the contents of a USB drive through cmd?
Can't boot into Windows. I am trying to replace certain files in the system32/drivers folder from cmd through the bootable installation disc.
The files I want to use are on a USB driver. I basically I ...
1
vote
0
answers
228
views
How to change VPN properties using cmd in Windows 7
With all this virus stuff, my company sent me to work at home. But when I connect to my company's VPN, I lose the internet connection. I have read on the internet that I must disable the option "Use ...
1
vote
2
answers
1k
views
Why don't Libre Office command line options seem to work on Windows?
This is LO 6.0.7.3 on Windows 7 Enterprise. All other instances of LO have been shut down (I discovered in Linux that this was vital.)
Here is example non-output:
C:\Users\[snip]>"C:\Program ...