windows commands

  1. J

    Move all subfolders from parent folder to a new unique created folder in the target location

    Hi I made this batch code, to move all subfolders from "C:\1" to a new created folder inside folder "C:\2" @echo off set "sourceDir=C:\1" set "destinationDir=C:\2" set "newFolderName=NewSubfolder" mkdir "%destinationDir%\%newFolderName%" 2nul for /D %%I in ("%sourceDir%\*") do (...
  2. Windows 11 Hiding folders or files in data streams

    is there any way to add folders to data streams, you can make new text files and apparently store file but it will always error for me, does anyone know how to make folders in data streams or commands that wont error when i try to hide a file?
  3. P

    Windows 7 Does Sfc /scannow append new entries to CBS.Log?

    It seems to me that the well known command sfc /scannow ..... appends all logmessages to a possibly already existing CBS.LOG file rather than create a new logfile. Is this correct? So if I want to have a fresh logfile just with the results from the last sfc run I have to manually delete the...
  4. T

    Windows 10 How to open a file with a specific program from cmd

    Hello, I am trying to open a file [FILE] with a program [PROGRAM]. I have a shortcut of those two on my desktop. When i drag and drop [FILE] on top of [PROGRAM], it works as expected, meaning that [FILE] gets openend correctly by using [PROGRAM] to open it (Similarly to how you would drop a...
  5. J

    Windows XP Working from the console on WinXP

    I recently purchased a budget business PC with Windows XP installed for the main purpose of hobbying, specifically learning how to take a more technical approach using Windows from the console. Would anyone be able to highlight any books/media that offer good insight into the command-driven...
  6. Windows 8 Target commands?

    So, I decided to experiment with my game programs with target commands, to learn a little about what each does. However I am unsure about a few things, and I'm looking for some answers. Here they are: Are there a list of global target commands? Do all Target commands work with all programs...
  7. R

    Windows 8 Command Window (Admin) problem with Windows 8.1

    Running the latest version of Windows 8.1, all updated, on an HP i7 4th Gen Quad Core laptop with 16gb RAM and 1TB hard disk. I'm the Admin of my account. Every now and then, while installing a program (or every time I try to run a Command Prompt (Admin) after hitting Win-X), I will get a...
  8. A

    Windows 8 Display interface Type in CMD

    Hi, The name is Aaron and I am having trouble with a command. How do you display the Internet address, Physical Address and Type of a Ip Address. Kind Regards, Aaron
  9. W

    Windows 7 Looking for a bat file command...

    I would love to know if there is a batch file command, or set of them, etc. to have the batch file input a command into another command prompt already opened. Specifically, I mean having it use the 'kickall' command on a minecraft server's command prompt. I would prefer something that is in...
  10. P

    Windows 7 Folder sharing: Difference between "cacls" and "net share" ?

    I want to specify from command line that user "Karl" has Full access to local folder (and subfolders) D:\proj\logs Which command is recommended here: cacls or "net share" What is the difference? Is "net share" for folders the same as "cacls" for files? Peter
  11. T

    Windows 7 List of commands to use in command prompt

    Can I get a list of commands I can use in a command prompt, please?
  12. Windows 7 Clickable Shutdown / Restart / Lock / Hibernate / Sleep

    An alternative to the shutdown menu is clickable shortcuts. Right-click -> New -> Shortcut -> Location of the item: Shutdown Computer Shutdown.exe -s -t 00 Restart Computer Shutdown.exe -r -t 00 Lock Workstation Rundll32.exe User32.dll,LockWorkStation Hibernate Computer...