1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

batch file to check hard drive space on an XP computer, and if there is enough space

Discussion in 'Software Development' started by rajni2411, Jul 10, 2015.

Thread Status:
Not open for further replies.
  1. rajni2411

    rajni2411 Thread Starter

    Joined:
    Jul 10, 2015
    Messages:
    1
    I'd like to run a batch file to check hard drive space on an XP computer, and if there is enough space available, then run some commands to create a directory to copy the files from remote server.
    Details:
    • Read a text file with all the server ips
    • Run as service account
    • Verify that there is enough space on C:
    • Create a Install directory on remote server
    • Then copy the file from my computer remote server.

    Can anybody please help me!!!
     
  2. draceplace

    draceplace

    Joined:
    Jun 8, 2001
    Messages:
    2,583
    I found this code on "SpiceWorks.com'.

    I have not tested. I have not test (just to be clear). It's set up to determine % of free space (on a text file listing of servers) but could be modified to do what you want.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1151394

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice