First: you posted in the wrong forum, in an already existing thread.
The main forum for Qbasic questions is here:
The index of forums is here:
In the future, please post your question as the start of a new thread.
As for your code, it doesn't look like anything Qbasic would work with. It is clearly designed for some sort of Linux/Unix type system. My guess is that it may be some sort of shell script. If so, you might see if it will run under Cygwin.
Otherwise, I'm not sure what you're trying to do. No offense intended, but I can't really understand you. What is your native language? We have a couple guys who speak other languages (Spanish, Polish, possibly French), who may be able to help, but not all of them frequent the forums very often.