The next two issues to ask for advice.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Firstly, I want to use one lisp routine to remove specific text file in the specific path, for example:[ C:\WINDOWS\ d.ini ]. Perform this procedure, check whether the file in the path . If there are then delete it. Program is mainly used to kill a particular "as virus" file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Secondly, it is more complex. I Want to get the system time with one lisp routine . But I should make it not so clearly, I just want to make a cover-up. Specific requirements are:
Perform this procedure, first check whether there is specified text file in a specific path , if there are not then creat it, for example:[ C:\WINDOWS\ d.ini ]. if there are Then skip this step. Get the System time and then write to the text file. The format of the time needs for requirements of 8 lines, 4 lines for Year numbers ,2 lines for Month numbers and 2 lines for Day numbers . The figures for each line is expressed as Decimal,use "49-58" to represent "0-9".
Format Example:
51 ----> 2
49 ----> 0
50 ----> 1
50 ----> 1
49 ----> 0
51 ----> 2
50 ----> 1
54 ----> 5
So very clear, the system time is February 15, 2011.
Waiting for your help! Greetings!