|
![]() |
#1 |
Участник
|
чтото типа
X++: #WinAPI client static int prnHeader(boolean _showInfo = false) { str FileName = 'c:\\Header.dat'; if (! WinApi::fileExists2(FileName)) { if(_showInfo) CheckFailed('Не найден файл: ' + FileName); return 1; } else { WinAPI::shellExecute('cmd.exe', '/c copy ' + FileName + ' lpt1', '', #ShellExeOpen, #SW_HIDE); } return 0; } Header.dat X++: N
__________________
aLL woRk aNd nO JoY MAKes jAck a dULL Boy |
|