Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cmd.exe]

cmd.exe, or the Command Prompt, is the default command-line interpreter for many Microsoft-created operating systems.

1
vote
0answers
9 views

Why is this command running on bootup - del onedrivesetup

""C:\Windows\System32\cmd.exe" /q /c del /q "C:\Users\James\AppData\Local\Microsoft\OneDrive\Update\OneDriveSetup.exe"" I checked and the OneDriveSetup.exe doesn't exist (I guess since it deleted it)...
0
votes
1answer
29 views

Windows CMD reset PATH variable to default

I have a question that someone surely must have come across, but maybe I'm not using the right search terms. I wish to reset the PATH variable in a command prompt to the default. So, for example, I ...
0
votes
0answers
1k views

Remove files extension .norvas from files using command line in windows 10 [on hold]

a virus just modified for files in my pc by adding the extension .norvas on each of them , am looking for a cmd command to undo that. thanks example stan.txt.norvas to stan.txt
0
votes
2answers
52 views

Add '#' in XML file using Batch script

I am very new to batch scripting.  Could you please let me know how I can add "#" in an XML file – second line first letter – and save it in Windows. As per the above screenshot, I need to add one ...
0
votes
0answers
11 views

Setting an Environment Value in a FOR Loop [duplicate]

I wrote this code: set list1=This,Is,A,List set list2= FOR %%c IN (%list1%) DO set list2=%list2%-%%c I expected list2 to equal -This-Is-A-List, instead it equals -List. I have verified that it is ...
2
votes
0answers
25 views

Delete symbolic link to c:\ when not being able to access c:\

I know how to create and delete symbolic links, but now I have a specific problem. I wanted to create a symbolic link from c:\mydata to d:\mydata, but forgot the first parameter, so I entered from c:\:...
0
votes
1answer
71 views

Build a custom CMD FOR DIR “File Not Found” message for a windows 10 batch file

Microsoft Windows [Version 10.0.17134.706] The 101st time you run your batch file it spits out this message, "File Not Found". It takes you so long to trace down the source of the message you decide ...
1
vote
2answers
33 views

Windows won't Restart, can't access Task Manager or launch certain Programs

I recently encountered the problem that Windows 10 hangs on restarting and shutdown. I have to turn off the machine my the power button. I also can't launch Windows task manager. I've tried a safe ...
-2
votes
0answers
19 views

how did you convert sethc.exe back to cmd.exe after the hack [closed]

I did the same sethc.exe trick but now I do not know how to swap sethc.exe with cmd.exe
0
votes
1answer
17 views

Moving files from a linux to Amason S3 bucket

Helle, i need help to make a batch script that can move data from my linux database to Amazons S3 bucket system, and im not reallt well rounded in Scripting and such, so by any chance is there anyone ...
0
votes
1answer
16 views

How to create script that listens to content changes and touches parent folders all the way up?

This is my workpace. It is grouped by date to help me orient in it. Some of the folders group other projects by a company, for example. The problem is that file changes in those folders don't ...
1
vote
0answers
13 views

How should I pass secrets in cmd.exe

My quesiton particularly targets passing an SSH key to a docker build command, where I want to clone a private repository from github. In order to keep the key private, I just want to pass it as a ...
-1
votes
0answers
17 views

Creating a Batch file to create multiple folders [closed]

I have found the following online and would like to create a batch file for easy (repetitive use). cd "target folder directory" for /l %i in (1001,1,1500) do md %i Im struggling to do it :( Any ...
0
votes
0answers
20 views

how to find the initial hard drive of a tablet?

I want to reinstall windows 8 on a Microsoft surface pro with a bootable key but no way to retrieve the hard drive of the tablet. I tried with diskpart but it does not appear in the list even after ...
1
vote
0answers
31 views

magick.exe don´t work correctly

set foo=311421232322383538353247425048463555333928324647554314304128474534464839363549444437435238613561311240095442505231573523988539009812811847 magick convert -font Ciphered-Regular.ttf -pointsize ...

15 30 50 per page