Quote:| | below written program did not work Where is the problem
 | 
 | 
When you need to incorporate variables in a 'star' command you have to use OSCLI, thus:
 Code:      REM Printer Redirect
      
      INPUT "Computer: " computer$
      INPUT "Printer : " Printer$
      
      *net use lpt1: /delete
      OSCLI "net use lpt1: \\"+computer$+"\"+Printer$+" /YES" 
Richard.