Sign in to follow this  
Followers 0
Doxie

Fetch file name > Text file

1 post in this topic

Hi,

I know this is somewere in the help file, but i can´t get it.

I got a folder filled with files, that my script is creating.

Now i need to sort them into a txt file based on their name.

For example:

Username.DONE

Username.ini

Username.DONE

Username.ini

Username.ini

Username.DONE

The output in the text file shoud look something like this:

*Done patching*

Username

Username

Username

*Said NO 1 time* (In the ini file, there is a value "Count" wich change everytime they say NO)

Username

Username

*Said NO 2 times*

Username

etc...

If there is no way to "hide" the .ini or .DONE it does not matter, but as long as i get a overview of the users who has "seen" or "run" the patch, its good.

I know this might be to much to ask, but if you could just point me into right direction, i might be able to solve this myself.

Thanks in advance.

PS. I have made a patching tool, wich you just add to the users login script.

Its two files, the file were you config what file should be used to patch and when its should be forced to run. And you got the "client" file, wich the users will see when they login, asking them if they wanna run the patch now or later.

If you are intrested in such a program, just ask, ill be happy to send it.


Were ever i lay my script is my home...

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0