Skip to main content

All Questions

Tagged with
0 votes
1 answer
9k views

Delete Multiple Windows Accounts by using CMD

Is there a way to achive so? I usually test on my computer different CMD commands with different privileges, so I create many users (I know that I can change the privileges by using net user but I ...
Bita's user avatar
  • 563
1 vote
1 answer
1k views

How do I use Msg.exe to send messages on Windows 7?

I've got a question about using msg in batch files, so I can send messages to specific users on my organisation's domain. I decided to use net send and realised it would only work on Windows XP. We ...
user avatar
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:\...
Doug Null's user avatar
  • 818
0 votes
0 answers
778 views

Is it possible to perform a complete backup of the Users folder with Robocopy?

This is a more specific version of a broader question I posted a few weeks ago, I have my Users folder - B:\Users - on a separate drive to my Windows 7 system. I want to copy the contents of this ...
Hashim Aziz's user avatar
  • 13.1k
0 votes
1 answer
7k views

UAC problems with msiexec silent mode

I have a msi package which I want to install to some computers, which aren't necessary on the same domain neither network. The way I spread the msi package it doesn't matter. We can expect that file ...
arturn's user avatar
  • 101
0 votes
0 answers
31 views

Single Batch script to open any editor/application in elevated administrator access [duplicate]

I have been searching for ages now, for this. All I want is exactly as I mentioned in my question, I have many editors like Sublime Text, VS Code etc. But they all seem useless when it comes to edit ...
Vicky Dev's user avatar
  • 472
0 votes
1 answer
1k views

Batch loop through all content of a specific directory and move those sub-directories and/or files except some files and folders, to other location

I have a source directory at path D:\somepath which contains mixed content i.e. files and folders both. Now I want to move all folders and files except few files and folders from that source path to ...
Vicky Dev's user avatar
  • 472
8 votes
3 answers
18k views

FINDSTR: Line is too long

Windows FINDSTR command is useful for sifting through large amounts of data; it filters out lines of text that match or don't match a specified pattern or string (like GNU/BSD grep). But it refuses ...
voices's user avatar
  • 2,751
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 ...
Hashim Aziz's user avatar
  • 13.1k
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 ...
beasone's user avatar
  • 179
1 vote
1 answer
6k views

Dynamically search and delete multiple registry entries(both key and value) by batch script

I have uninstalled a recent game called "Wolfenstein 2009", but somehow I had to do it manually. I was able to delete files very easily, but here comes the tricky part. I have following command to ...
Vicky Dev's user avatar
  • 472
0 votes
1 answer
3k views

Delete registry key on certain condition

I have a troublesome problem to solve. Browsed internet for some time now but so far haven't got even close to resolving it. Apologies if this has been answered somewhere else. I look after a call ...
Piotr Zurek's user avatar
1 vote
1 answer
3k views

How to change device driver via scripting

We have a default Windows 7 image which contains a lot of different device drivers. As a result, two compatible drivers for a network card are found, but one of the two result in a problem. We now ...
bas's user avatar
  • 331
1 vote
1 answer
1k views

Taskkill command running multiple times when executed from batch file

I need to automate a process where i want to close a program. When running, taskkill /IM notepad.exe from CMD it works fine. But when i create a batch file in order to do the same thing, it ...
user avatar
0 votes
1 answer
2k views

Files can still be modified even after setting ''Read-only'' permission by ICACLS. Why is it not working?

I am the administrator in my PC and there are some other users on it. I set a folder (Gabi) as "Read only" for a specific user (Alice), using ICACLS via the Command Prompt (I am using ...
kaly's user avatar
  • 3

15 30 50 per page
1
5 6
7
8 9
73