Bat file is not working in windows Xp

Actually i created one Bat file to list out the mounted volume output. if i clicked the bat file means it's opening the DOS prompt but am not getting the output file..

Where ever i tried the same commands from dos it's giving output

what is the problem ? it's working other machines

My Batch File commands

Mountvol > "C:\DOCUME~1\ADMINI~1\Desktop\MountVolOutput.txt"
1 answer Last reply
More about file working windows
  1. you mountvol command is incomplete.

    mountvol [Drive:]Path /L

    your BAT file should look something like this:

    @ ECHO OFF
    Mountvol C: /L > "C:\DOCUME~1\ADMINI~1\Desktop\MountVolOutput.txt"
Ask a new question

Read More

DOS Windows XP