Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Multi-step batch file help please
Name: helpmeout Date: February 4, 2009 at 11:06:40 Pacific OS: Windows XP Subcategory: Batch
Comment:
I'm trying to figure something out but have little (read: no) programming experience. I have a batch file pulling postscript files from an FTP site to a local folder. Now what I would like to happen is the files get converted from .ps to .pdf (manually use GSview for this now) and then copies the .pdf files to a specific network folder.
Name: Holla Date: February 5, 2009 at 01:00:01 Pacific
Reply:
I dont have gsview, so I cant try it out. I guess you can search for gswin32.exe and on console(cmd.exe prompt) go to that directory and type "gswin32 /?" or "gswin32 -h" and figure out how to use command line conversion tool to convert ps to pdf.
Then you should be able to insert appropriate command for conversion into your existing batch file. You should be using something like gswin32.exe -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "-sOutputFile=YourOutfile.pdf -c .setpdfwrite -f "YourInputFile.ps"
You can not interact with a graphical windows application from batch file. In this case, I guess gsview uses a command line program to convert internally, so you could use just that.
Summary: hello guys ! we have load of metrics reports generated since 6 months , the thing is that the metrics contain .html and .png files in them. now time has to come to sort out the metrics. step -1 -- i ...
Summary: Hi, I have created a batch file that runs full screen and displays a lock screen. It is used at school because we cannot lock the computers. To unlock it, it requires a code. The problem is that when...
Summary: Hey All, I am trying to get a batch file so that it will open up 5 web address's at a time but I want them all in different IE windows. So is there any way to do this? I have this so far (it opens the...