0:00
uh hello guys welcome to this video so
0:02
in this video I will show you how to
0:04
solve the problem so sometimes if you
0:07
open command line if you want to
0:08
directly open Visual Studio code into a
0:12
specific folder there is a shortcut out
0:14
there which is say code dot so this is
0:19
actually the shortcut if you type this
0:20
on command line in a particular folder
0:23
it will open BS code in that particular
0:25
folder so you will see this error coming
0:28
in that code is not not recognized as an
0:31
internal or external command so this
0:32
means that Visual Studio code though it
0:36
is installed you can see if I go to
0:39
start menu and just type vs code it is
0:43
appearing and I can open this right here
0:47
if I click this vs code will
0:49
open but using this shortcut it is not
0:52
opening because VSS code is not inside
0:55
your path so environment variables you
0:57
need to add this path so I've given the
1:01
link where I got this reference of so
1:04
stackoverflow.com I basically get this
1:07
reference from you can see if you are on
1:10
Windows you need to follow this path and
1:13
add this inside your environment
1:15
variable and they also given if you are
1:17
on Mac as well so I will just give the
1:19
link in the description of this video
1:21
you can also read this blog post as well
1:24
so now to fix this problem you need to
1:26
go to the C drive and go to to the users
1:31
directory and whatever is your username
1:35
that and then inside this you will
1:38
search for the folder app
1:40
data this is actually app
1:43
data and then you will go to this local
1:47
directory and here you need to search
1:56
programs just search for programs right
2:02
here this is actually folder
2:05
here and then inside this you will see
2:08
Microsoft VSS codes wherever your vs
2:12
installed and you can see this is
2:15
actually the path here you need to go to
2:17
the bin folder and just copy this path
2:20
here simply control and right click copy
2:23
this path and now open your environment
2:27
variable and go to this environment
2:30
variables so in the path here click on
2:33
this edit button and uh just click on
2:37
the new button right here so paste this
2:45
okay so now if you done that if you just
2:49
need to restart command line so again
2:52
reopen command line and go to the folder
2:55
where you need to open the vs code so I
3:04
the the folder where I need to open vs
3:07
code so if I just trite code dash this
3:10
time so now this time you will see the
3:12
vs code will directly open inside this
3:14
folder so it actually is working so in
3:18
this way you can fix this problem by
3:20
just adding the vs code path that I
3:22
showed you STP by step inside the
3:23
environment variable and it will now
3:27
open it so thank you much for watching
3:30
this video and also check out my website
3:33
as well free mediat tools.com uh which
3:36
contains thousands of tools regarding
3:38
audio video and image and I will be
3:41
seeing you guys in the next video