Sign in to follow this  
Followers 0
laurin1

Find and open WordPerfect Files

2 posts in this topic

I'm working on a coversion program and I need to know how to find all the *.wpd file names in a directory, and then open them in WordPerfect. I pretty sure I can figure the last part out, but I need to know how to get file names from a directory.


Keith Davis

MCSA, ZCE, A+, N+

http://www.laurinkeithdavis.com

Share this post


Link to post
Share on other sites



...find all the *.wpd file names in a directory...

Open a "DOS window"

type DIR /?

read the options

I would pick options like:

DIR /s /b "c:\some folder\*.wpd" > c:\list-of-files.txt

(untested - could have syntax errors)

If you are going to do this over and over, then you might want to make your "DIR" line part of your script. [search the forum for "DIR".] If making this list is a one time thing, then just do it from the "DOS window" (Command Prompt window) and use the resulting text file as part of your conversion script.

have fun


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0