1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ms dos specific command

Discussion in 'Windows & Other Software' started by sneakypenguin, 6 Mar 2006.

  1. sneakypenguin

    Gangster

    Joined: 12 Mar 2005

    Posts: 469

    Location: Kings Norton, Birmingham

    Hi folks,

    what I want to do is create a filename list from a specific directory. There is a command for DOS that does this and save the list as a text file in the directory, but i cant for the life of me remember what it is. Anyone have any ideas?

    cheers
     
  2. marc2003

    Capodecina

    Joined: 6 Feb 2004

    Posts: 20,238

    Location: England

    dir /s > path_to_file.txt

    the /s lists subfolders/files. you might not need it. :)
     
  3. sneakypenguin

    Gangster

    Joined: 12 Mar 2005

    Posts: 469

    Location: Kings Norton, Birmingham

    brilliant, thanks a lot mate. it's really annoying when u know something but can't remember it.
     
  4. sneakypenguin

    Gangster

    Joined: 12 Mar 2005

    Posts: 469

    Location: Kings Norton, Birmingham

    any chance you could give an example? it doesnt seem to want to work for me lol. the folder i want to make a list of is D:\films

    thanks
     
  5. marc2003

    Capodecina

    Joined: 6 Feb 2004

    Posts: 20,238

    Location: England

    [​IMG]

    :)
     
  6. Inquisitor

    Capodecina

    Joined: 12 Apr 2004

    Posts: 11,788

    Location: Birmingham

    I know this isn't the place for it, but can you link me to that visual style marc2003? :D
     
  7. marc2003

    Capodecina

    Joined: 6 Feb 2004

    Posts: 20,238

    Location: England