Running DOS Commands in InfoPath - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Running DOS Commands in InfoPath Running DOS Commands in InfoPath Last post 08-14-2006 10:06 AM by sam1996. 4 replies. Page 1 of 1 (5 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 08-14-2006 07:12 AM sam1996 Joined on 08-14-2006 Posts 19 Running DOS Commands in InfoPath Reply Contact Hi All, Does anyone know how to execute DOS commands in Infopath using a button. Specifically, I would like to create folders using a Infopath data field value as a folder name.Thanks! 08-14-2006 08:35 AM In reply to Shiraz Cupala Joined on 08-07-2006 Seattle, WA Posts 443 Re: Running DOS Commands in InfoPath Mark as Not AnswerMark as Answer... Reply Contact Hi Sam1996 and welcome to our forum. This will require code and will also require full trust as it modifies the file system.This topic as more info:http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2700&SearchTerms=save,button Shiraz Cupala / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 08-14-2006 08:56 AM In reply to sam1996 Joined on 08-14-2006 Posts 19 Re: Running DOS Commands in InfoPath Mark as Not AnswerMark as Answer... Reply Contact Thanks for the info...But I am looking for code in the button to create a user defined folder using a infopath data filed...for example when a user clicks a button: I want info path to execute this DOS command below:mkdir c:\Marketing\'infopath data field value'Thanks! 08-14-2006 09:03 AM In reply to Shiraz Cupala Joined on 08-07-2006 Seattle, WA Posts 443 Re: Running DOS Commands in InfoPath Mark as Not AnswerMark as Answer... Reply Contact Ah ok. This will depend on the language you are using. I would do a Google search on " 'dos commands' and '<insert your language> ". You can put the code in the button event handler. You'll have to create a variable to copy the node data into and then use that in your code to pass it to the command line. Shiraz Cupala / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 08-14-2006 10:06 AM In reply to sam1996 Joined on 08-14-2006 Posts 19 Re: Running DOS Commands in InfoPath Mark as Not AnswerMark as Answer... Reply Contact I want to use the info path built in js language. Can you point to some examples. I cannot find any specific ones that work with infopath's data field...Thanks! Page 1 of 1 (5 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.