Bat file is not working in windows Xp Tags: DOS Windows XP Last response: March 17, 2011 3:08 PM in Windows XP Share Example333 March 17, 2011 1:47:20 PM 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 @ ECHO OFF cd\ Mountvol > "C:\DOCUME~1\ADMINI~1\Desktop\MountVolOutput.txt" More about : bat file working windows Emerald March 17, 2011 3:08:48 PM you mountvol command is incomplete. mountvol [Drive:]Path /L your BAT file should look something like this: @ ECHO OFF cd\ Mountvol C: /L > "C:\DOCUME~1\ADMINI~1\Desktop\MountVolOutput.txt" Can't find your answer ? Ask ! Publish Related resources: ForumHow to make same bat file which would work for both Windows 7 and Windows XP ForumBat File Options Missing ForumXP replacement for Bat files Forum*. bat file is not running windows XP , its immediatly closed when it ru ForumTrying to add IP printer using a bat file Forumsysedit says C:autoexec. bat cannot open this file ForumAccepting input to BAT file by dragging. ForumAccepting input to BAT file by dragging. ForumWindows XP -missing my desktop icons, task bat and Start button ForumWindows XP -missing my desktop icons, task bat and Start button ForumRun autoexec. bat on XP Startup? Forumautoexec. bat and config.sys files were deleted! ForumWindows 7 . BAT file to save search results CONTENTS ForumBat -files of a distributed programm don't allow arguments(directories) Forum[SOLVED]Custom . bat file help UPDATED ForumMOVE command does not work from . BAT or .CMD script ForumHow do I start multiple Apps from a . BAT file in XP ForumHELP!!! Please with Windows XP ForumWindows firewall automatically turns off Forum[Solved] Forcing Windows XP to group windows from each program into a single button on th More resources Read discussions in other Windows XP categories Configuration Customization Drivers Security Video !