Word to PDF Batch Converter [Works with Recursive Folders] - No Software Required

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this video is a part of a three-part series on the power of partial scripting in the first part we look how we can convert PowerPoint files into PDF with a single click these PowerPoint files does not need to be in a single folder it can also be in subfolders and this script can convert them into PDF with a single click in the second part of this series we'll see how we can convert Word documents into PDF again these files can be in recursive folders and it will still work finally in the third part of this video series we'll see how we can organize literally thousands of photos or files into neatly structured years and month folder format again we'll be using partial for this so if you are looking at one of the videos and you if you would like to look at the other please check out on the playlist and if you haven't subscribed to my Channel please consider subscribing alright let's get started hello everyone in this video we'll learn how you can convert Word documents into PDF with just a single click in recursive folders so let's imagine you have number of folders and their number of Word documents or docx files and you want to convert them all into PDF now if you are talking about one or two you can actually open a Word document and go to file and save as a PDF but let's say you have you know hundreds of documents and you just want to convert all of them into PDF it it would be very tedious to do that and so in this video we'll actually use Powershell script to convert all these Word document into PDF into those folders so let me just give you an example here I have a folder and there are different word documents right here and then I have another folder and then there is another word document in here and then again test two and then I have another document uh actually in here and so what if I want to convert all of them simultaneously into PDF uh PDF document and so for that we will use a Powershell as I said now I'm going to share the Powershell script on my GitHub page so you can just simply download that and then you can use that this script is usually with an extension PS1 so let me bring that up here so here is this Powershell script basically it uses a folder and then you may have to specify the folder the the root folder but then it is able to go inside that folder and just recursively able to find all Word document convert it into PDF okay so let's go ahead and open Powershell and I'm going to run it as administrator so when you go to start menu and click and type arsha on the right hand side you usually get run as administrator menu now I hope that you are already familiar how you can do that if not just uh just add a comment and I'll help you out all right so let's go and change uh to our folder right and then if I look at this particular folder there are these folder folders there's a one word document and then there is this PS1 the script that I just showed now as I said I'm going to share the script with you on GitHub page so you can download it works perfectly fine now in order to run a script on Powershell you just have to do Dot hyphen and then you just type the name of the PS1 script or you can type a part of it and press Tab Key okay and so you can see it's Dot and then I had a wrong slash but anyways and let's try to run this now what just happened is if you have never run a Powershell script on your computer by default Windows disable running any of the script now in order to enable you need to set a one flag to remote assigned and I'm going to share it with you right here and so if you do see error like this where it says it cannot be loaded because the running script is disabled then you just type this particular command in your Powershell script now the script that I am sharing is pretty safe so but basically this is saying that you will be able to run a script so again just to use it safely don't just download any script online and then try to run because that can have some negative impact for this one I'm going to share it on GitHub page you can take a look there's nothing malicious about it okay now one important thing is you can only set this execution policy to remote sign which basically means that I can run a script that is not signed or that is something that I have downloaded from internet okay and so I it will only work if you are running in administrative mode if you don't have administrative right on your computer then you may not be able to do this so anyways I'm going to say this and then it's going to ask whether you want to set this policy change I'm going to say yes all right and I'm going to clear screen CLS okay so now we are back to square one and we want to see if it is if the script is able to convert all the word document into PDF and so now again I'm going to run the script and as I said you just Place Dot and then slash and then just type your script okay and I'm going to press enter and we'll keep an eye on this folder and see how it is able to convert those into a PDF okay so let's press enter so the script is running and soon you will start to see a PDF document in here all right so what happened is it is able to convert these document to a PDF as you can see in this test 2 folder and also test one folder but it didn't do this one I think the reason is in our script we just had to remove this I think and then it would avoid so again you may have to play with the the folder uh name in in the script in order for this to work but uh it just didn't do this one but all the recursive folder or all the folders that are inside this particular folder it was able to convert and so just make sure that you use uh a write folder and then it should work and so now uh this would work you know for n number of Word documents and if you notice it was pretty fast it was able to convert that into PDF file and also it didn't open a Word document and so you might say you know if you have few Word document every time you have to open that you have to save it as PDF while this one actually happens everything in the background and I think one of the this the part of the script actually says that do that into invisible form or visible equals to false and so using this script you can convert tons of Word documents into PDF and you don't need to even worry about the folders or changing those files into a single folder so I hope you like this video if you did please click on the like button and check out my channel I post a lot of new videos about making you a better programmer or or more efficient about you know working with the computers and so if you like the content of this channel then please subscribe to my channel alright thank you bye
Info
Channel: Chris Amit
Views: 1,244
Rating: undefined out of 5
Keywords: Convert Word Documents into PDF without any software, convert word doccuments into pdf without any software, convert word to pdf file, convert word to pdf using powershell, word to pdf converter with recursive folders, convert word file to pdf file, how to convert word to pdf file in windows 10, word to pdf, doc to pdf, how to convert word to pdf, word to pdf using powershell, powershell script to convert word files to pdf files with single click, word to pdf automation
Id: C6hzcyCZx4E
Channel Id: undefined
Length: 7min 55sec (475 seconds)
Published: Mon Mar 20 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.