Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

DELETE A FILE FROM A LOCATION

Former Member
0 Kudos

Hi all ,

I want to delete a file from alocation in batch. I want to use the 'SXPG_COMMAND_EXECUTE' fm . I want to create a command in SM69 . My operating system is WINDOWS NT .Can any one tell me what COMMAND i need to use to delete a file from pc ? And how can i create a command in sm69?

null

1 REPLY 1

Former Member
0 Kudos

Check this link

http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f2c505211d189550000e829fbbd/frameset.htm

It gives details about how to create / run external command for Windows in SAP.

For deleting a file, command in Windows is <DEL filename>

Message was edited by:

Ashish Gundawar