All Questions
Tagged with command-line windows-7
220
questions with no upvoted or accepted answers
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 ...
1
vote
1
answer
195
views
What am I doing wrong with this Windows 7 FTP script?
I am trying to create a text file (commands.txt) for FTP in Windows 7.
The file looks like this...
open 10.10.10.12 9999
USER anonymous
anonymous
GET file1.txt
bye
I then jump to a Command Prompt(...
1
vote
0
answers
1k
views
netsh advfirewall firewall dump gives no result
Props: Windows 7, Windows Firewall, my account is configured as administrator, CLI also as administrator
Because some rules entered via GUI did not work as expected, I've tried to check the rules on ...
1
vote
1
answer
855
views
Automatically open a file when it is added to a directory, with PowerShell
I have a script (.ps1) that is monitoring a directory, and when a file is created it should open that specific file (in this case a .pdf).
There are multiple files in the directory, but it should ...
1
vote
0
answers
2k
views
Disable Port from command line (CMD) (Devcon it can not disable a port when there is nothing plug in; I need to do this 100+ PC)
How do I disable this port from command line?
Is it possible to disable Port#0005 and only Port#0005?
1
vote
0
answers
1k
views
How to run a batch (xcopy) involving a network drive?
I would like to run this batch on a windows server 2008 :
SET "DateToday=%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%"
echo %DateToday%
mkdir C:\Log_%DateToday%
xcopy /y "\\sf1coeur\AXA-CASH\GFPz %DateToday%" ...
1
vote
2
answers
3k
views
CMD window size
Every time I open cmd the window size is 20x5. The problem is that even though the default settings are set to 80x25, it doesn't do anything and the properties need to be changed every time the cmd is ...
1
vote
0
answers
1k
views
How to get files ordered by name with `dir`?
This used to be really easy in the old OS's.
dir /o:n >> list.txt
for %a in (`list.txt`) do copy %a ..\ordered
And voila, there was the list of files in the other folder, created in the sorted ...
1
vote
0
answers
4k
views
Outputting the batch script console output to a log file?
I'm having trouble doing this properly. After searching old posts, the below batch command should work, but my newly created text file is resulting in an empty text file. So whatever is outputted to ...
1
vote
1
answer
86
views
windows-7 nightly scheduled .bat with a DOS pause in it executes but never pauses
The following is my nightly_backup.bat file, scheduled to run every night at 11pm.
But though it does the backups ok, I never find it paused in the morning, like I expect it.
echo off
ROBOCOPY C:\...
1
vote
0
answers
835
views
How to make a shortcut for VIRTUAL FOLDER from command line in windows 7?
I use windows 7 SDK sample code to create and install a virtual folder on windows 7. It is not a real file system, it just a COM object which tells the windows explorer what should display, Like ...