ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. batch
    Log in to post
    • All categories
    • gjacobseG

      Unsolved Batch file assistance: scroll text output

      IT Discussion
      • windows 7 windows 10 batch scripting echo • • gjacobse
      3
      1
      Votes
      3
      Posts
      689
      Views

      gjacobseG

      and if you want to change the window size.

      https://stackoverflow.com/questions/8688846/resize-command-prompt-through-commands

    • NerdyDadN

      If I was a batch scripter, I'd starve...

      IT Discussion
      • batch scripts scripting script • • NerdyDad
      2
      2
      Votes
      2
      Posts
      832
      Views

      DashrenderD

      Here are some instructions I found.

      http://www.instructables.com/id/How-to-make-flash-drive-that-copys-users-files-si/

    • gjacobseG

      Understand CMD CLI to Powershell Variable

      IT Discussion
      • cmd cmdlet ps powershell chocolatey batch script scripting • • gjacobse
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      dbeatoD

      @gjacobse So basically you want to iterate through a list of computers the same script correct? So do you have a list of computers? What are other steps on your script? because what we can do is the following

      *$computers = import-csv -Path "c:\script\computers.csv" foreach ($oldname in $computers){ Rename-Computer -NewName $newname -DomainCredential domain\admin -Restart}

      This assumes you have a CSV file with a oldname and new name columns with computer names.

    • gjacobseG

      Solved Script Assistance requested

      IT Discussion
      • batch script scripting windows 8.1 windows 8 windows 10 drive mapping vpn • • gjacobse
      3
      0
      Votes
      3
      Posts
      1.3k
      Views

      gjacobseG

      Thanks @Mike-Davis

      That is just want was needed. added it to my other script and works great thus far.

    • gjacobseG

      Map Drive Script - Check for Drive letter in use

      IT Discussion
      • drive mapping batch script scripting • • gjacobse
      23
      0
      Votes
      23
      Posts
      4.8k
      Views

      Mike DavisM

      how many computers have the card readers? Instead of messing with the rest of the company's drive letters you could script something like:

      diskpart
      select vol g
      assign letter=b

      You have to put the diskpart commands in .txt file and then specify that as the script for diskpart to use, but you get the idea. Just move the local media card reader to a letter that's not used by the company and be done with it.

    • 1 / 1