calling a script from c
Posted on 2000-03-07
i wrote a script named 'renamefile' that will execute 3 or 4 separate commands: (eg below)
rename filename2 filename1
rename filename3 filename2
i would like to call this script inside my c program. i'm using SCO Unix V as the platform. i tried using the command
'system("./renamefile");' and it didn't work. could anybody else give me suggestions. thanks a bunch.