Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > IDL batchfile a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 5420 of 5995
Post > Topic >>

IDL batchfile as a linux script?

by eyuchen@[EMAIL PROTECTED] Feb 11, 2008 at 09:25 PM

Hello everyone,

I am probably trying to use IDL batch files in a strange way.
What I am trying to do is as follows:
1. I have a bunch of files 1.txt, 2.txt, ..., 500.txt in a folder.
2. I will make some calculation, and get a result i, which is an
integer, that ranges from 1 to 500.
3. Depending on the result, I will move the file whose name coincides
with i to another folder.

Basically, I want to put a line similar to "$mv string(i)+'.txt' ../
anotherfolder/string(i)+'.txt'" in my IDL batchfile. Of course, that
won't work for obvious reason...

Another way to put my question is: Is there anyway to pass variables
between IDL and Linux shell?
 




 4 Posts in Topic:
IDL batchfile as a linux script?
eyuchen@[EMAIL PROTECTED]  2008-02-11 21:25:22 
Re: IDL batchfile as a linux script?
David Fanning <news@[E  2008-02-11 22:58:40 
Re: IDL batchfile as a linux script?
Lasse Clausen <lasse@[  2008-02-12 02:28:47 
Re: IDL batchfile as a linux script?
Mike <Michael.Miller5@  2008-02-12 07:27:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 18 20:33:26 CDT 2008.