Jean-Luc Arnaud
2016-12-16 11:55:12 UTC
Hi all,
As you may know, some shell commands need a validation from user, mainly
by hitting Enter or Return key.
For some of these commands, a /Y option matches the need.
But for the others, no /Y option. So I'm used to redirecting a simple
file containing only a CR code, something like:
CommandString=CommandString+" <"+chr(34)+f.NativePath+chr(34) '
f is a folderitem on a simple file with only a CR character
Is there another way, maybe using directly a CR character in the command
string, something like:
CommandString=CommandString+" "+Chr(13)
Of course, I tested this, unsuccessfully. Am I wrong or is this not
possible?
TIA for any help
As you may know, some shell commands need a validation from user, mainly
by hitting Enter or Return key.
For some of these commands, a /Y option matches the need.
But for the others, no /Y option. So I'm used to redirecting a simple
file containing only a CR code, something like:
CommandString=CommandString+" <"+chr(34)+f.NativePath+chr(34) '
f is a folderitem on a simple file with only a CR character
Is there another way, maybe using directly a CR character in the command
string, something like:
CommandString=CommandString+" "+Chr(13)
Of course, I tested this, unsuccessfully. Am I wrong or is this not
possible?
TIA for any help
--
Jean-Luc Arnaud
_______________________________________________
Xojo forum:
https://forum.xojo.com/
Jean-Luc Arnaud
_______________________________________________
Xojo forum:
https://forum.xojo.com/