User:Melab-1/Batch File Question

Batch File: File Tree
Does this batch file properly store the computers file tree into a txt file in my documents folder (C:\Users\'User'\Documents) --Melab±1 00:26, 14 November 2008 (UTC)


 * Why don't you tell us? What results do you get when you run it?  -- Tcncv (talk) 01:42, 14 November 2008 (UTC)

The syntax is wrong. Change it to this: Set /p is for a prompt. You don't need to set a variable either -- I'm not sure why you did that. I'd just do it like this: That's assuming you want to include file names in the tree (hence the /F). It's also assuming that you're in your documents folder when you run the batch file. If you aren't, you'd need to change > Filetree.txt to > C:\Users\user\documents\Filetree.txt. Good luck with your assignment ;).--Areateeth34 (talk) 02:16, 14 November 2008 (UTC)