Skip to main content

All Questions

Tagged with
0 votes
1 answer
69 views

What privilege is required by the caller to invoke the -ExecutionPolicy parameter of Powershell 7.x

When invoking Powershell directly by invoking PWSH.EXE, it accepts an -ExecutionPolicy parameter for essentially a "one time/this-instance-only" invocation with something other than the ...
David W's user avatar
  • 256
7 votes
4 answers
11k views

Convert UTF-16 LE to UTF-8 in windows via command line

(question re-written to be more useful) I have a batch script which will interact with command line programs, take their output, and then perform decisions based on that output. One of the programs I ...
bfh47's user avatar
  • 103
1 vote
0 answers
671 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 ...
Jason0011's user avatar
  • 111
0 votes
2 answers
59 views

Does the Windows 7 CLI command "shutdown" ensure all disk writes occur before power ends?

I have a Windows 7 Batch file, (that I wrote), that opens a database program, and when the program is exitted, copies a large number of files from one folder to another folder on the same hard disk, ...
fixit9660's user avatar
0 votes
1 answer
160 views

Combine two windows cmd as single cmd to run the process at once

How can I combine two windows cmd as single cmd. My objective : At present I have to create the folder in destination and than run the convert cmd separately. Solution required : I want to merge both ...
Travelz Online's user avatar
0 votes
2 answers
80 views

Run this line by line, or as a whole

I am trying to install flask. Docs say to make an environment: Create an environment Create a project folder and a venv folder within: Windows mkdir myproject cd myproject py -3 -m venv venv How ...
NotStanding with GoGotaHome's user avatar
0 votes
1 answer
45 views

My windows 7 downloads files with appended lines

I have a windows 7 on my old laptop which don't support newer OS so i keep that as a test machine for various codes. Most of the times I use wget for transferring files from my new laptop to the old ...
RickyLo's user avatar
  • 17
0 votes
1 answer
3k views

How to install .inf file in windows 7 using cmd

Hello i had installed windows 7 on my Dell Latitude E6410. I am using Driver Easy to download missing drivers. All drivers I have downloaded but they are in .inf file. I have used device manager to ...
m-naeem66622's user avatar
-2 votes
1 answer
597 views

How can I have a .bat run on startup in the background [closed]

How can I have a .bat file run on startup in the background on a windows computer? Also I'm not the admin, so I have to do it without admin priveleges. Its an old computer I bought at a garage sale.
Kovy Jacob's user avatar
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 ...
RajinCoding2007's user avatar
0 votes
1 answer
1k views

Cannot delete file that "does not exist" according to Windows-7

Somehow a file ended up on the personal desktop of my Windows 7 machine that does not actually exist. I recognize the title as part of a Reddit post, but I don't know how it ended up on my desktop. ...
Cullen S's user avatar
1 vote
1 answer
155 views

I Froze My Computer’s Clock With CMD And I Can’t Unfreeze It

So I wrote the following cmd file: :he time < time.txt goto he The contents of time.txt are: 00:00:00.00 My goal here was to freeze my Windows 7 clock to see if it caused a program on my computer ...
user64742's user avatar
  • 247
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 ...
barlop's user avatar
  • 24.2k
0 votes
1 answer
443 views

Sed for windows not working after Powershell edit

I want to automate selecting data out of a pdf file for later processing in a spreadsheet. 1: Copy all text into a .txt file, using Notepad - ok. 2: Remove all newlines, CRLF, to create a single line ...
Phil's user avatar
  • 1
1 vote
1 answer
15k views

How do you use gpg4win from command line to encrypt or decrypt a file?

I have Windows 7. (Not Windows 10 so I don't have the fancy native "Windows Services for Unix" that Windows 10 apparently has) How do you use gpg4win from command line to encrypt or decrypt ...
barlop's user avatar
  • 24.2k

15 30 50 per page
1
2 3 4 5
73