Hi, list!
Is it possible to programatically create a directory tree in an eep or rmd file?
In an application I am creating a file, I want to copy to a place of my choice.
It can be either somewhere on C:, a diskett or a memory stick.
Also I would like to know how to programatically react to for ex a write
protected diskette?
This is a piece of code where I want to place your ideas.
LABEL diskett
-- Find out if a: exists
SET VAR vdsk = (CVAL('DRIVES'))
SET VAR vdrv= (SLOC(.vdsk,'a'))
IF vdrv = 0 THEN
--Tell if A: is there or not and abort
PAUSE 2 USING 'No diskette' CAPTION 'Bekräftelse'
GOTO end
ELSE
--Capture write protection and errorhandle it
--Copy file to diskette
PAUSE 2 USING 'Files are copied to diskett.' CAPTION 'Bekräftelse'
COPY vtotmon a:\vtotmon
ENDIF
GOTO end
Regards
Christian Hjortmar