dos commands
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
dear all how do i execute dos commands like "net send" and deltree from vb thanx and regards rishabhs
-
dear all how do i execute dos commands like "net send" and deltree from vb thanx and regards rishabhs
Shell or ShellExecute API Not all those who are lost are looking to be found. But of those who are lost and those who are found, all are looking for something higher than themselves.
-
dear all how do i execute dos commands like "net send" and deltree from vb thanx and regards rishabhs
do you have access to SQL Server or MSDE ?? if yes try this in a stored procedure.. declare @command varchar(1000) -- delete a file on the C drive SELECT @command = 'del C:\Test.txt' -- execute DOS command master.dbo.xp_cmdshell @command that should do it