[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 626
  • Last Modified:

IN VB6 DOING A SHELL TO DOS LIKE SHELL"XCOPY DTA.DAT DTA.BAK" AUTOCLOSE DOSBOX

I use a shell "xcopy test.lnk c:\windows\desktop " if user misses a shortcut
Because I don't want him to see this I also don't want him to do the work to close the
dosbox after the copy command
How to set in VB after any dos-call-shell the used box to auto-close
0
BIAPRO
Asked:
BIAPRO
1 Solution
 
vinnyd79Commented:
Private Sub Command1_Click()
Shell Environ("ComSpec") & " /c xcopy test.lnk c:\windows\desktop", vbHide
End Sub
0
 
BIAPROAuthor Commented:
Perfect!, this way I can do a lot off housekeeping (still in dos) while users is unaware,
Thanks Jack Biapro
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now