Jump to content

Search the Community

Showing results for tags 'file names'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Operating System Support
    • Windows Client OS Support
    • Windows Server Technologies
    • Mac, Linux, Chrome OS Support
  • Support and Discussion
    • Hardware Support and Discussion
    • Microsoft Application Support
    • General Software Support and Discussion
    • Internet, Networking and Security
    • Miscellaneous Support!
  • Essentials
    • Essential Guides
    • Essential Reviews
    • Essential Headlines
    • Essential Software
    • Essential Updates
  • Everything Else
    • The Game Zone
    • Programming, Debugging, Scripting...
    • Websites, Design and Code
    • Home Cinema, Television, Sky, Virgin Media, Freeview, Freesat
  • Windows Forum Chat
    • Windows Forum Related
    • Debates and Poll Station
    • Subscribers Lounge
    • The Lounge
    • NEW Members

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Skype


Website URL


Full Name


Location


Interests

Found 1 result

  1. I have a batch script which is supposed to parse a file with file names and timestamps in it. :MAIN SETLOCAL EnableDelayedExpansion FOR /F "tokens=1,2,4 skip=7" %%A in (C:\list_of_psa_files.txt) DO @echo %%A %%B %%C The file C:\list_of_psa_files.txt has the following data in it Volume in drive C is Windows XP 6.6 Volume Serial Number is AC12-84AA Directory of C:\Test 10/05/2011 03:17 PM <DIR> . 10/05/2011 03:17 PM <DIR> .. 10/05/2011 01:21 PM 4,393 1-16332-1008261.psa 10/05/2011 01:21 PM 4,863 1-16332-1011698.psa 10/05/2011 01:21 PM 4,793 1-16332-1023151.psa 10/05/2011 01:21 PM 4,916 1-16332-1035695.psa 10/05/2011 01:21 PM 4,524 1-16332-1037029.psa 10/05/2011 01:21 PM 4,235 1-16332-1049340.psa 10/05/2011 01:21 PM 3,135 1-16332-1049926.psa 10/05/2011 01:21 PM 4,657 1-16332-1054756.psa However, when I am running my script it is failing with a message invalid syntax. Can somebody please help me figure out where am I going wrong. All I wanted to do is to get a new file with only the Date, time and the filenames(without the .psa extension on it). Thanks for your time - appreciate it. Sanders.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy