10 lines
291 B
Text
10 lines
291 B
Text
if peek$("os") = "windows" then
|
|
slash$ = "\\" : com$ = "ren "
|
|
else
|
|
slash$ = "/" : com$ = "mv "
|
|
end if
|
|
|
|
system(com$ + "input.txt output.txt")
|
|
system(com$ + "docs mydocs")
|
|
system(com$ + slash$ + "input.txt " + slash$ + "output.txt")
|
|
system(com$ + slash$ + "docs " + slash$ + "mydocs")
|