Subj : FPC snippet.
To : All
From : j b l
Date : Thu Jan 26 2017 07:50 pm
Hi,
I have some FPC code, that isn't working the way it should.
if FileExists(fn+'.PK2') then shell('/usr/bin/mv '+fn+'.PK2 '+fn+'.MIX');
It works like this. It checks for the existence of, say, SOMEBOARD.PK2, and if
that file exists, it moves it to SOMEBOARD.MIX. The problem is that it isn't
moving the file(s).