Questions tagged [cmd.exe]
cmd.exe, or the Command Prompt, is the default command-line interpreter for many Microsoft-created operating systems.
3,071
questions
0
votes
1
answer
29
views
How to delete files with specific extension older than 3 days with ForFiles?
I need to delete files with 001 extension older than 3 days, forfiles gives me error and I have tried for hours to fix that, but I don't know whats wrong. I really need some help.
My command is ...
0
votes
1
answer
44
views
Unable to install Powershell 7 on Windows Server 2016 DataCenter .. Error "Access denied"
I have purchased a VM where I connect to it using RDP. now I downloaded 2 files from the web; Microsoft Edge exe file + PowerShell 7.0 MSI file, as follow: -
then using the administrator user >>...
0
votes
0
answers
48
views
Always require user prompt: "PowerShellGet requires NuGet-anycpu.exe"
I'm trying to install this module "VPNCredentialsHelper", but I get the following prompt even if I use the "-force" flag:
C:\Windows\system32>powershell -command "Install-...
2
votes
0
answers
40
views
Why is GNU wget only returning an index.html.tmp file, instead of the actual files I want?
I want to download a lot of satellite data (organized by each day of each year) in .hdf format from NASA's LAADS DAAC archive. They have a helpful guide that provides a code sample to use with GNU ...
-1
votes
0
answers
23
views
Why do i keep getting an java.lang.NoClassDefFoundError: when running sbt?
I want to run a bot on windows. I'm trying to run sbt in cmd. I installed sbt and java 22 x64 MSI Installer. I ran sbt but i keep getting an error. I think maybe this has to do with java so i ...
2
votes
1
answer
51
views
Terminal Powershell differences
When I type dir /A into terminal I get desirable output, but when I type the same to Powershell i get
dir : Cannot find path 'C:\A' because it does not exist.
+ CategoryInfo : ObjectNotFound: ...
1
vote
0
answers
44
views
Is there anyway to resume "stuck" cmd.exe in windows 10?
For a lack of a better description, look at this screenshot:
Sometimes, after an out of memory semi-crash, cmd windows remain in this state.
If I click on them, nothing happens.
(some of them work ...
0
votes
0
answers
42
views
Windows - redirect stdout and stderr output to a file avoiding unsync
Following answer from this question I've found that using dir > a.txt 2>&1 to output stdout and stderr to a file might be unreliable as stdout and stderr appear to get unsynced sometimes. ...
0
votes
0
answers
16
views
Accept a Syncthing device and a shared folder via command line
I am at a company and we would like to know if it is possible to add-accept a remote computer and a shared folder via Syncthing without graphically interacting with the remote machine, but entirely ...
0
votes
2
answers
62
views
Packages being skipped when installing using winget sequentially
I have a bootstrap script which does a lot of things to setup a new Windows installation. It calls other scripts within that script, including this one which installs some packages using winget:
@echo ...
1
vote
0
answers
134
views
Error Ansible for backup script on Windows Server with SCP
I'm writing a script for an incremental backup of a Windows server to a Linux server via SCP with Ansible, I'm having difficulties connecting to the SCP, as it is incorrectly identifying the directory ...
0
votes
1
answer
55
views
Cannot delete file in Windows 10 [duplicate]
On Windows 10, there is a file [%UserProfile%\Videos\Lorem.mkv] that is less thant 9KB and I cannot delete it. The file belongs to me, I have permissions to it, there are no prompts for entering a ...
0
votes
1
answer
80
views
A copy of 'Default', 'Sam', 'Security', 'Software', 'System'
I would like to make a copy the aforementioned files - 'Default', 'Sam', 'Security', 'Software', 'System'. all of these are under
"C:\Windows\System32\Config"
It seems like mission ...
3
votes
1
answer
139
views
Change Window Title When Start PowerShell with Sudo.exe
I tried starting powershell with Sudo for Windows from CMD or Batch. Works fine. A PowerShell window opens with administrator rights:
rem CMD/BAT
sudo.exe start powershell.exe
Then, I tried adding a ...
1
vote
2
answers
99
views
I am curious why I have all these connections upon using netstat -b. Can someone tell me if I have someone in my system please?
I am curious why I have all these connections upon using netstat -b. Can someone tell me if I have someone in my system please?
C:\Windows\system32>netstat -b
Active Connections
Proto Local ...